Skip to main content

moga-mall CVE-2025-15152

MEDIUM
Improper Access Control (CWE-284)
2025-12-28 cna@vuldb.com
5.3
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Craft addProduct request with malicious objectName
  3. Exploit
    Trigger unrestricted file upload
  4. Execution
    Place unauthorized file on server
  5. Impact
    Achieve limited integrity/confidentiality impact

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
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 a valid low-privileged authenticated session (CVSS PR:L) on a moga-mall instance, after which the attacker sends a request to the addProduct function in src/main/java/com/ms/product/controller/PmsProductController.java with a manipulated objectName parameter to perform an unrestricted file upload. The key limiting factor is that authentication is required - this is not a pre-auth flaw despite the 'Authentication Bypass' tag - and the assessed impact is Low across C/I/A, so it does not inherently yield arbitrary code execution. The absence of released version identifiers (rolling-release model) makes it hard to scope which deployments are affected.

Impact

This is a moderate, not high-priority, issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and 5.3 score indicate a network-reachable, low-complexity flaw that nonetheless requires some level of authentication (PR:L), and the vulnerable-system impacts are all rated Low (VC:L/VI:L/VA:L) rather than High - meaning VulDB assessed this as a limited-impact unrestricted upload, not a full remote-code-execution file upload. No EPSS score was provided in the input and the vulnerability is NOT listed in CISA KEV, so there is no evidence of active exploitation. A public write-up/exploit reference exists on GitHub (the Chinese-language '任意文件上传'/arbitrary-file-upload markdown), indicating publicly available exploit material. Signals are internally consistent: a low-privilege authenticated remote flaw in a small open-source Java project with a POC but no confirmed in-the-wild use. One tension worth noting: the 'Authentication Bypass' tag conflicts with the PR:L vector, which assumes the attacker already holds valid low-privilege credentials rather than bypassing authentication - verify against the actual advisory before treating this as a pre-auth bug.

Exploit ScenarioDerived

An attacker with a low-privileged authenticated account on a moga-mall deployment invokes the addProduct endpoint in PmsProductController and manipulates the objectName argument to upload a file to an unintended location or of an unintended type. A public write-up describing arbitrary file upload exists on GitHub, lowering the effort to reproduce. Because CVSS impacts are rated Low across confidentiality, integrity, and availability, the realistic outcome is limited unauthorized file placement rather than guaranteed server takeover.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Unrestricted file upload in the h-moses moga-mall Java/Spring e-commerce application lets an authenticated attacker who can reach the addProduct handler in PmsProductController.java upload files of attacker-chosen type and name by manipulating the objectName argument. Exploitation requires a valid low-privileged session (CVSS PR:L) on a remote, network-reachable deployment; it is not a pre-authentication flaw despite the 'Authentication Bypass' tag applied by the reporting source. The assessed impact is Low across confidentiality, integrity and availability (CVSS 3.1 5.3), so the issue does not inherently yield arbitrary code execution, and no public exploit identified at time of analysis - a public technical writeup of the upload path is linked in the references, but no weaponized exploit or CISA KEV entry exists for this CVE.

RemediationAI

No vendor-released patch identified at time of analysis: the project follows a rolling-release model with no fixed version disclosed, so operators must remediate at the code or deployment layer. The highest-value code fix is to validate the objectName argument in PmsProductController.addProduct - enforce an allowlist of extensions and MIME types, strip path separators and traversal sequences, generate server-side filenames instead of trusting client input, and store uploads outside the web root or on object storage so that uploaded content is never executable or directly served. In parallel, add an explicit role/authorization check (and CSRF protection) on the upload endpoint so only trusted administrative roles can invoke addProduct; the assessed vector (PR:L) shows a low-privileged account currently suffices, so tightening this check materially reduces exposure. If the code cannot be changed, compensating controls are to place the mall application behind an authenticating reverse proxy that blocks or heavily restricts multipart/form-data requests to the product endpoints, and to front the web root with a static file server that refuses to execute or serve files from upload directories; the trade-off is that these controls break legitimate image uploads for product management and require an outbound path for administrators. Until a fix is published, monitor advisories at https://vuldb.com/?id.338529 and https://vuldb.com/?ctiid.338529 and audit existing upload directories for unexpected files.

Affected ProductsAI

Affected is the h-moses moga-mall application, an open-source Java/Spring Boot mall/e-commerce project, in snapshots up to and including commit 392d631a5ef15962a9bddeeb9f1269b9085473fa; the vulnerable component is src/main/java/com/ms/product/controller/PmsProductController.java, specifically its addProduct function and its handling of the objectName argument. Because the project uses a rolling-release, continuous-delivery model, the vendor discloses no affected or fixed version numbers, and no CPE identifiers were supplied with the CVE record, so deployments cannot be matched by version string alone. Any internet- or intranet-exposed deployment of this codebase that permits authenticated users to reach the product-creation/upload endpoint should be considered in scope. Vendor and third-party advisories are available at https://vuldb.com/?id.338529 and https://vuldb.com/?ctiid.338529, with a public technical writeup at https://github.com/zyhzheng500-maker/cve/blob/main/moga-mall%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0.md.

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

moga-mall is an open-source Java/Spring Boot e-commerce 'mall' application whose product module exposes a PmsProductController with an addProduct method at src/main/java/com/ms/product/controller/PmsProductController.java. The handler accepts a user-supplied objectName argument that is used when persisting an uploaded file, and the application fails to constrain the file type, filename or destination, producing a classic unrestricted-upload condition. Notably, the CNA classified this as CWE-284 (Improper Access Control) rather than CWE-434 (Unrestricted Upload of File with Dangerous Type); the practical root cause is the combination of missing authorization/role checks on the upload endpoint and absent file-type and path validation on the objectName parameter. Because the project ships under a rolling-release model with no tagged versions, there is no CPE or version metadata to scope precisely which snapshots are vulnerable beyond the referenced commit 392d631a5ef15962a9bddeeb9f1269b9085473fa. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) confirms a network-reachable, low-privilege-authenticated attack with limited C/I/A impact and no scope change.

Know when Java 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

Vendor (vuldb) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Network-reachable addProduct endpoint with low complexity but requiring a low-privilege account (PR:L); impacts kept Low as the upload yields limited file placement, not confirmed RCE.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

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

DescriptionCVE.org

A vulnerability was identified in h-moses moga-mall up to 392d631a5ef15962a9bddeeb9f1269b9085473fa. This vulnerability affects the function addProduct of the file src/main/java/com/ms/product/controller/PmsProductController.java. Such manipulation of the argument objectName leads to unrestricted upload. The attack may be performed from remote. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Rare
obscure open-source Java mall project, negligible production footprint
Data Quality
4 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
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.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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