Skip to main content

JPACookieShop CVE-2025-7938

LOW
Improper Authorization (CWE-285)
2025-07-21 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid user credentials
  2. Delivery
    Authenticate to JPACookieShop
  3. Exploit
    Access updateGoods endpoint
  4. Execution
    Submit crafted goods modification request
  5. Persist
    Bypass authorization check
  6. Impact
    Modify product data without privilege validation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires prior authentication - attacker must possess valid login credentials (username/password) for the JPACookieShop application. The vulnerability is not exploitable against default configurations where unauthenticated access is blocked. The specific condition is that the updateGoods function in GoodsController.java does not validate whether the authenticated user has administrative or goods-modification privileges, allowing any logged-in user to modify goods regardless of their assigned role. Network accessibility to the GoodsController endpoint is also required. The flaw is limited to authenticated scenarios; unauthenticated remote exploitation is not possible.

Impact

Despite a critical classification in the vulnerability report, the actual exploitation risk is minimal based on conflicting signals. The CVSS v4.0 vector assigns only 2.1 severity with integrity impact (VI:L) but no confidentiality or availability impact, and EPSS scores this at 0.06 percentile (very low exploitation probability). The requirement for prior authentication (PR:L) significantly limits threat landscape - the attacker must first obtain valid user credentials. While public exploit code exists, the low EPSS suggests this remains a theoretical or niche threat with minimal real-world exploitation. The mismatch between 'critical' classification and CVSS 2.1 score indicates over-classification by the reporting source; this is more accurately a low-severity privilege escalation requiring valid user access. Security teams should prioritize this below vulnerabilities with higher EPSS scores and unauthenticated attack vectors.

Exploit ScenarioDerived

An authenticated user with low-privilege account (e.g., regular customer or basic store staff) logs into JPACookieShop and crafts an HTTP request to the updateGoods endpoint, modifying product prices, descriptions, or inventory without the necessary administrative role. Public exploit code on GitHub automates this process, allowing attackers to bypass authorization checks via the unprotected updateGoods function in a remote attack.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Authorization bypass in JPACookieShop (蛋糕商城JPA版) version 1.0 allows authenticated remote attackers to modify goods via the updateGoods function in GoodsController.java without proper privilege validation. The vulnerability has public exploit code available but carries low real-world risk due to a CVSS score of 2.1 (EPSS 0.06%), indicating exploitation is unlikely despite authenticated access requirements and public disclosure.

RemediationAI

No vendor-released patch identified at time of analysis. Immediate mitigations include implementing role-based access control (RBAC) validation in the updateGoods method to verify the authenticated user has explicit 'goods_update' or equivalent privilege before processing modification requests, and adding audit logging to track all goods modifications by user ID to detect unauthorized changes. Apply input validation and server-side authorization checks before any state-changing operation in GoodsController. Contact the JPACookieShop maintainer (jerryshensjf) to request a patched version, or consider switching to an actively maintained fork or alternative e-commerce platform if no vendor response is received. Deployment workaround: restrict network access to GoodsController endpoints to trusted administrative networks only, though this does not eliminate the underlying authorization flaw.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

JPACookieShop is a Java-based e-commerce platform using JPA (Java Persistence API) for data access. The vulnerability resides in the GoodsController.java file's updateGoods method, which fails to properly validate user authorization before executing goods modification operations. This is classified as CWE-285 (Improper Authorization / Missing Authorization), a common flaw in web applications where access control checks are either absent or insufficient. The attack vector is network-based (AV:N) with low complexity (AC:L), meaning any remote attacker with valid login credentials can trigger the vulnerable function without special conditions.

Know when Jpacookieshop gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was found in jerryshensjf JPACookieShop 蛋糕商城JPA版 1.0 and classified as critical. This issue affects the function updateGoods of the file GoodsController.java. The manipulation leads to authorization bypass. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:jerryshensjf:jpacookieshop:-:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy