CVE-2025-52130
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-52130 is a medium-severity PHP (CWE-616) vulnerability. Its CVSS base score is 5.4 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 14th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-8 (Security and Privacy Engineering Principles) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-25746
Vulnerability Data
File upload vulnerability in WebErpMesv2 1.17 in the app/Http/Controllers/FactoryController.php controller. This flaw allows an authenticated attacker to upload arbitrary files, including PHP scripts, which can be accessed via direct GET requests, potentially resulting in remote code execution (RCE) on the…
more
web server.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Engineering principles such as complete mediation and least privilege require the use of the canonical $_FILES array rather than attacker-writable globals.
Proper validation of all file-upload inputs stops attackers from supplying or overwriting the legacy global variables that the flawed code relies on.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly prevent use of the deprecated PHP upload globals and variable-overwrite flaws.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development can detect the legacy upload pattern before deployment.
Training can teach developers to use $_FILES instead of the deprecated four-globals pattern, preventing some instances, but as a fallible human-practice mechanism against a specific PHP implementation defect it moves only a minority of cases — consistent with A.6.3 -> CWE-598 = partial and A.8.28 -> CWE-79 = partial.
Secure coding explicitly prohibits use of deprecated upload variables and requires validated, server-side file handling.
A.8.8 can surface CWE-616 only through published advisories/CVEs for third-party PHP applications, and that disclosed share is a minority of this implementation-level flaw while most instances in first-party or unadvertised code fall outside its disclosure reach.