moga-mall CVE-2025-15152
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryCraft addProduct request with malicious objectName
-
ExploitTrigger unrestricted file upload
-
ExecutionPlace unauthorized file on server
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB