CVE-2019-25630
8.8Phreesoft · PhreeBooks ERP
PhreeBooks ERP 5.2.3 contains an arbitrary file upload vulnerability in the Image Manager component, allowing authenticated attackers to achieve remote code execution.
Executive summary
An arbitrary file upload vulnerability in PhreeBooks ERP 5.2.3 allows authenticated attackers to execute malicious code on the server, posing a critical risk to system integrity.
Vulnerability
This is an unrestricted file upload vulnerability (CWE-434) located within the Image Manager component. Authenticated attackers can upload arbitrary files, including malicious PHP scripts, via the imgFile parameter to the bizuno/image/manager endpoint, which can subsequently be executed via the bizunoFS.php script.
Business impact
Successful exploitation of this vulnerability allows an authenticated attacker to gain remote code execution on the underlying server. This could lead to a complete system compromise, including unauthorized access to sensitive financial data, modification of ERP records, or the deployment of persistent backdoors, resulting in severe reputational damage and potential regulatory non-compliance. The CVSS score of 8.8 reflects the high severity of this impact.
Remediation
Immediate Action: Update to the latest version of PhreeBooks ERP or apply the vendor-provided security patches immediately to resolve the file upload restriction flaw.
Proactive Monitoring: Review web server access logs for requests to the bizuno/image/manager endpoint that include unusual file extensions or suspicious POST requests to the bizunoFS.php script.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to block file uploads containing non-image extensions or to restrict access to administrative and management endpoints.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists as documented in the Exploit-DB entry 46644.
Analyst recommendation
Given the availability of public exploit code and the critical nature of remote code execution, organizations running PhreeBooks ERP 5.2.3 must prioritize patching or isolating the affected system immediately. Ensure that only authorized personnel have access to the application, as the flaw relies on an initial authentication step to trigger the malicious upload.
Sources
Originally found and disclosed by Abdullah Çelebi, per the CVE Program record.
- ExploitDB-46644 Exploit / PoC
- Official Product Homepage
- Product Reference
- VulnCheck Advisory: PhreeBooks ERP 5.2.3 Arbitrary File Upload via Image Manager Third-party advisory