Description (CNA)
mall4j through 4.0 contains a missing authentication vulnerability in the PUT /user/updatePwd endpoint that allows unauthenticated attackers to reset any storefront account password. Attackers can supply a target username in the request body to overwrite passwords without verification, enabling account takeover and access to orders and personal data.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gz-yami / mall4j | affected 0 through 4.0 |
CWE
CWE-306
References
- https://github.com/LinYuanyi1/cve-request-poc/blob/114b3f0d149e50a7678f591bf8043399fc9ac96c/mall4j/A01_updatepwd_account_takeover.py
- https://github.com/gz-yami/mall4j
- https://github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/yami-shop-api/src/main/java/com/yami/shop/api/controller/UserRegisterController.java#L78-L100
- https://www.vulncheck.com/advisories/mall4j-through-4.0-missing-authentication-in-password-update-endpoint
ADP enrichment
No English description supplied.
No references supplied.