Cyber Posture

CVE-2025-7939

MediumPublic PoC

Published: 21 July 2025

Published
21 July 2025
Modified
06 November 2025
KEV Added
Patch
CVSS Score 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0011 28.8th percentile
Risk Priority 13 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 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

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 2 other techniques.
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.

addresses: CWE-284 CWE-434

This control enforces ownership-based restrictions on portable storage device use, directly implementing access control over media insertion into organizational systems.

addresses: CWE-284 CWE-434

Hardware write-protect enforces access control on critical resources (e.g., firmware) independent of software state.

addresses: CWE-284

The access control policy and procedures directly mandate and enforce proper access control mechanisms across the organization.

addresses: CWE-284

Device lock enforces restricted access until re-authentication, directly reducing unauthorized use of active sessions.

addresses: CWE-284

Supervision and review of access control activities directly detects and remediates improper access configurations or usages.

addresses: CWE-284

Explicitly identifying and documenting actions permitted without identification or authentication enforces proper access control boundaries by defining justified exceptions.

addresses: CWE-284

By automatically labeling outputs with security attributes, the control supports attribute-based enforcement and reduces exploitability of improper access control weaknesses.

addresses: CWE-284

Associating and retaining security attributes with data directly supports enforcement of access control decisions across storage, processing, and transmission.

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).

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)

Affected Products

jerryshensjf
jpacookieshop
all versions

CVEs Like This One

CVE-2025-9296Shared CWE-284, CWE-434
CVE-2025-0335Shared CWE-284, CWE-434
CVE-2025-7538Shared CWE-284, CWE-434
CVE-2025-0346Shared CWE-284, CWE-434
CVE-2024-13138Shared CWE-284, CWE-434
CVE-2025-2973Shared CWE-284, CWE-434
CVE-2025-1791Shared CWE-284, CWE-434
CVE-2025-2978Shared CWE-284, CWE-434
CVE-2026-7733Shared CWE-284, CWE-434
CVE-2026-2979Shared CWE-284, CWE-434

References