Arbitrary file upload via administrator-targeted CSRF
Published Mar 28, 2022 · Updated Aug 2, 2024
Cross-site request forgery in Mark Barnes Sermon Browser for WordPress 0.45.22 and earlier allows remote attackers to upload arbitrary files. The Sermon > Files upload handler accepts multipart filenames and contents without a CSRF token or file validation, then stores the file under wp-content/uploads/sermons. Exploitation requires a logged-in administrator to visit attacker-controlled content; an uploaded PHP file executes if the sermons directory serves PHP.
Summary
What happened
Cross-site request forgery in Mark Barnes Sermon Browser for WordPress 0.45.22 and earlier allows remote attackers to upload arbitrary files. The Sermon > Files upload handler accepts multipart filenames and contents without a CSRF token or file validation, then stores the file under wp-content/uploads/sermons. Exploitation requires a logged-in administrator to visit attacker-controlled content; an uploaded PHP file executes if the sermons directory serves PHP.
The record
- CVE
- CVE-2022-0499
- Published
- Mar 28, 2022
- Updated
- Aug 2, 2024
- Vendor
- Mark Barnes
- Product
- Sermon Browser
- Classifications
- CWE-352, CWE-434, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 28, 2022CVE publishedPublication date reported by the CVE source.
- Aug 2, 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=0.45.22 <=0.45.22
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 CSRF file-upload 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