vendor:
FlatPress
by:
Gjoko 'LiquidWorm' Krstic
7,5
CVSS
HIGH
CSRF Arbitrary File Upload
352
CWE
Product Name: FlatPress
Affected Version From: 1.0.3
Affected Version To: 1.0.3
Patch Exists: NO
Related CWE: N/A
CPE: a:edoardo_vacchi:flatpress:1.0.3
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Apache/2.4.10, PHP/5.6.3
2016
FlatPress 1.0.3 CSRF Arbitrary File Upload RCE PoC
The vulnerability is caused due to the improper verification of uploaded files via the Uploader script using 'upload[]' POST parameter which allows of arbitrary files being uploaded in '/fp-content/attachs' directory. The application interface allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform actions with administrative privileges if a logged-in user visits a malicious web site resulting in execution of arbitrary PHP code by uploading a malicious PHP script file and execute system commands.
Mitigation:
The application should verify the uploaded files and should not allow arbitrary files to be uploaded.