{"id":"CVE-2021-24905","state":"PUBLISHED","title":"Advanced Contact form 7 DB < 1.8.7 - Subscriber+ Arbitrary File Deletion","description":"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.","publishedAt":"2022-03-21T18:55:37.000Z","updatedAt":"2024-08-03T19:49:13.470Z","severity":null,"assigner":"WPScan","products":["Unknown Advanced Contact form 7 DB"],"affected":[{"vendor":"Unknown","product":"Advanced Contact form 7 DB","versions":[{"version":"1.8.7","status":"affected","lessThan":"1.8.7","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24905.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24905","state":"PUBLISHED","datePublished":"2022-03-21T18:55:37.000Z","dateUpdated":"2024-08-03T19:49:13.470Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"Advanced Contact form 7 DB < 1.8.7 - Subscriber+ Arbitrary File Deletion","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Unknown","product":"Advanced Contact form 7 DB","versions":[{"version":"1.8.7","status":"affected","lessThan":"1.8.7","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2022-03-21T18:55:37.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"Krzysztof Zając"}],"source":{"discovery":"EXTERNAL"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24905","STATE":"PUBLIC","TITLE":"Advanced Contact form 7 DB < 1.8.7 - Subscriber+ Arbitrary File Deletion"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Advanced Contact form 7 DB","version":{"version_data":[{"version_affected":"<","version_name":"1.8.7","version_value":"1.8.7"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"Krzysztof Zając"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-863 Incorrect Authorization"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6","refsource":"MISC","url":"https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:49:13.470Z"}}]}}}