Cyber Resilience

CVE-2025-7939

MediumPublic PoC

Published: 21 July 2025

Published
21 July 2025
Modified
06 November 2025
KEV Added
Patch
CVSS Score v4 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0031 54.6th percentile
Risk Priority 11 60% EPSS · 20% KEV · 20% CVSS

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

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

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.
T1608.002 Upload Tool Resource Development
Adversaries may upload tools to third-party or adversary controlled infrastructure to make it accessible during targeting.
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

CVE-2025-0346Shared CWE-284, CWE-434
CVE-2025-0335Shared CWE-284, CWE-434
CVE-2025-9296Shared CWE-284, CWE-434
CVE-2025-7538Shared CWE-284, CWE-434
CVE-2024-13138Shared CWE-284, CWE-434
CVE-2025-2973Shared CWE-284, CWE-434
CVE-2025-2978Shared CWE-284, CWE-434
CVE-2025-1791Shared CWE-284, CWE-434
CVE-2024-13144Shared CWE-284, CWE-434
CVE-2025-8255Shared CWE-284, CWE-434

Affected Assets

jerryshensjf
jpacookieshop
all versions

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces access restrictions on the addGoods function so that only explicitly authorized operations and file types are permitted, blocking the unrestricted upload path.

prevent

Requires validation of all input to the GoodsController, rejecting uploads of dangerous file types before they are stored or processed.

preventdetect

Deploys malicious-code detection mechanisms that scan or sandbox files uploaded via addGoods, mitigating the CWE-434 risk even if validation is bypassed.

References