{"id":"CVE-2021-24905","aliases":["CVE-2021-24905"],"related":[],"kind":"vulnerability","state":"published","title":"Advanced Contact form 7 DB < 1.8.7 - Subscriber+ Arbitrary File Deletion","summary":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","source":"cvelist"},{"lang":"es","text":"El plugin Advanced Contact form 7 DB de WordPress versiones anteriores a 1.8.7, no presenta comprobaciones de autorización ni de tipo CSRF en la acción AJAX acf7_db_edit_scr_file_delete, y no valida el archivo a eliminar, permitiendo a cualquier usuario autenticado eliminar archivos arbitrarios en el servidor web. Por ejemplo, eliminar el archivo wp-config.php permite a atacantes volver a desencadenar la configuración de WordPress, alcanzar privilegios de administrador y ejecutar código arbitrario o mostrar contenido arbitrario a usuarios","source":"nvd"}],"published":"2022-03-21T18:55:37.000Z","modified":"2026-06-17T03:41:06.690Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"rating":"MEDIUM"}],"cwes":["CWE-352","CWE-863"],"affected":[{"ranges":[{"type":"custom","introduced":"1.8.7","fixed":"1.8.7","status":"affected"}],"vendor":"Unknown","product":"Advanced Contact form 7 DB","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.8.7"}],"vendor":"vsourz","product":"advanced_cf7_db","cpe":"cpe:2.3:a:vsourz:advanced_cf7_db:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Krzysztof Zając"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24905","url":"https://www.cve.org/CVERecord?id=CVE-2021-24905","licence":"CVE Terms of Use","modified":"2024-08-03T19:49:13.470Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24905","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24905","licence":"Public domain","modified":"2026-06-17T03:41:06.690Z"}],"updatedAt":"2026-11-25T22:58:07.239Z","epss":{"score":0.0077,"percentile":0.56829,"date":"2026-12-01T12:00:22.000Z"}}