Cyber Posture

CVE-2019-25647

HighPublic PoC

Published: 24 March 2026

Published
24 March 2026
Modified
25 March 2026
KEV Added
Patch
CVSS Score 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0029 52.5th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Description

PhreeBooks ERP 5.2.3 contains a remote code execution vulnerability in the image manager that allows authenticated attackers to upload and execute arbitrary PHP files by bypassing file extension controls. Attackers can upload malicious PHP files through the image manager endpoint…

more

and execute them to establish reverse shell connections and execute system commands.

Mitigating Controls (NIST 800-53 r5)AI

prevent

Requires validation of information inputs like uploaded files to block arbitrary PHP uploads that bypass extension controls.

preventdetect

Deploys malicious code protection at system entry points such as the image manager to scan and eradicate uploaded PHP shells or backdoors.

prevent

Directly mitigates the image manager RCE flaw through timely identification, testing, and deployment of patches for PhreeBooks ERP.

Security SummaryAI

CVE-2019-25647 is a remote code execution vulnerability affecting PhreeBooks ERP version 5.2.3, specifically in the image manager component. The flaw allows authenticated attackers to upload arbitrary PHP files by bypassing file extension controls, enabling subsequent execution of malicious code. It is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) and carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to its network accessibility, low attack complexity, and potential for complete confidentiality, integrity, and availability impacts.

Authenticated attackers with low privileges can exploit this vulnerability remotely by accessing the image manager endpoint to upload PHP shells or backdoors disguised with allowable extensions. Successful exploitation grants attackers the ability to execute arbitrary system commands, establish reverse shell connections, and potentially achieve full server compromise, as the uploaded files can be triggered directly on the server.

References include a proof-of-concept exploit on Exploit-DB (46645), a detailed advisory from Vulncheck on the PhreeBooks ERP remote code execution via image manager, and project sites such as SourceForge and PhreeSoft, which may provide additional context or updates on patches, though specific mitigation steps are outlined in those advisories.

Details

CWE(s)

Affected Products

phreesoft
phreebookserp
5.2.3

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

The vulnerability enables exploitation of a public-facing web application via unrestricted file upload in the image manager (T1190) and facilitates uploading/executing PHP web shells for RCE (T1100).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References