CVE-2017-16949 File upload in n/a
Attackers can bypass file extension restrictions to upload malicious PHP files, leading to remote code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-16949?
CVE-2017-16949 is a critical vulnerability in n/a, published on 18 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the AccessKeys AccessPress Anonymous Post Pro plugin through 3.1.9 for WordPress. Improper input sanitization allows the attacker to override the settings for allowed file extensions and upload file size, related to inc/cores/file-uploader.php and file-uploader/file-uploader-class.php. This allows the attacker to upload anything they want to the server, as demonstrated by an action=ap_file_upload_action&allowedExtensions[]=php request to /wp-admin/admin-ajax.php that results in a .php file upload and resultant PHP code execution.
Weakness: CWE-434
Which versions are affected by CVE-2017-16949?
It affects 1 product.
Products include Accesspressthemes Anonymous Post Pro.
How do I fix CVE-2017-16949?
No fix has been published for CVE-2017-16949 yet. Limit exposure of the affected software until one is available.
Is CVE-2017-16949 being exploited?
There is no known exploitation of CVE-2017-16949 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-76m2-6qg3-g4x6.