CVE-2025-7939
Published: 21 July 2025
Summary
CVE-2025-7939 is a medium-severity Improper Access Control (CWE-284) vulnerability in Jerryshensjf Jpacookieshop. Its CVSS base score is 5.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 45.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 AC-3 (Access Enforcement) and SI-10 (Information Input Validation).
Deeper analysis
CVE-2025-7939 is a critical vulnerability in jerryshensjf JPACookieShop 蛋糕商城JPA版 version 1.0, affecting the addGoods function within the GoodsController.java file. The issue enables unrestricted file upload, classified under CWE-284 (Improper Access Control) and CWE-434 (Unrestricted Upload of File with Dangerous Type). It was published on 2025-07-21 and carries a CVSS 3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
A remote attacker can exploit this vulnerability over the network with low attack complexity and no user interaction required, but it necessitates low privileges such as an authenticated user account. Exploitation allows manipulation leading to unrestricted upload, resulting in low impacts to confidentiality, integrity, and availability.
Advisories and further details are available in the referenced sources, including a GitHub CVE report at https://github.com/Bemcliu/cve-reports/blob/main/cve-03-%E8%9B%8B%E7%B3%95%E5%95%86%E5%9F%8EJPA%E7%89%88-Arbitrary%20File%20Upload/readme.md and VulDB entries at https://vuldb.com/?ctiid.317076, https://vuldb.com/?id.317076, and https://vuldb.com/?submit.618986.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-22266
Vulnerability details
A vulnerability was found in jerryshensjf JPACookieShop 蛋糕商城JPA版 1.0. It has been classified as critical. Affected is the function addGoods of the file GoodsController.java. The manipulation leads to unrestricted upload. It is possible to launch the attack remotely.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Unrestricted arbitrary file upload in public-facing web application (GoodsController.java addGoods) enables initial access via exploitation (T1190), web shell deployment (T1100), and staging tools (T1608.002 as noted in advisory).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly enforces access restrictions on the addGoods function so that only explicitly authorized operations and file types are permitted, blocking the unrestricted upload path.
Requires validation of all input to the GoodsController, rejecting uploads of dangerous file types before they are stored or processed.
Deploys malicious-code detection mechanisms that scan or sandbox files uploaded via addGoods, mitigating the CWE-434 risk even if validation is bypassed.