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 6.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 28.8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Threat & Defense at a Glance
Threat & Defense Details
Likely Mitigating ControlsAI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
This control enforces ownership-based restrictions on portable storage device use, directly implementing access control over media insertion into organizational systems.
Hardware write-protect enforces access control on critical resources (e.g., firmware) independent of software state.
The access control policy and procedures directly mandate and enforce proper access control mechanisms across the organization.
Device lock enforces restricted access until re-authentication, directly reducing unauthorized use of active sessions.
Supervision and review of access control activities directly detects and remediates improper access configurations or usages.
Explicitly identifying and documenting actions permitted without identification or authentication enforces proper access control boundaries by defining justified exceptions.
By automatically labeling outputs with security attributes, the control supports attribute-based enforcement and reduces exploitability of improper access control weaknesses.
Associating and retaining security attributes with data directly supports enforcement of access control decisions across storage, processing, and transmission.
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).
NVD Description
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.
Deeper analysisAI
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.
Details
- CWE(s)