Unauthenticated post deletion via unprotected AJAX action
Published Mar 28, 2022 · Updated Aug 3, 2024
Missing authorization in OSMapper 2.1.5 and earlier allows remote attackers to delete arbitrary WordPress posts through an AJAX request. The ba_map_ajax_handler action is exposed through wp_ajax_nopriv and passes an attacker-supplied post ID to its deletion path without authorization, CSRF, or post-type checks. No account or user interaction is required, and successful exploitation removes attacker-selected blog content.
Summary
What happened
Missing authorization in OSMapper 2.1.5 and earlier allows remote attackers to delete arbitrary WordPress posts through an AJAX request. The ba_map_ajax_handler action is exposed through wp_ajax_nopriv and passes an attacker-supplied post ID to its deletion path without authorization, CSRF, or post-type checks. No account or user interaction is required, and successful exploitation removes attacker-selected blog content.
The record
- CVE
- CVE-2021-24978
- Published
- Mar 28, 2022
- Updated
- Aug 3, 2024
- Vendor
- Before After
- Product
- OSMapper
- Classifications
- CWE-862, CWE-352, T1565.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 28, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.1.5 <=2.1.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan unauthenticated post-deletion proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo