Description (CNA)
vhr through commit 03abbd3 fails to verify that the account ID in PUT /hr/pass requests belongs to the authenticated caller. Authenticated attackers can change arbitrary account passwords by supplying a target account ID and that account's current password in the request body.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| lenve / vhr | affected 0 through 03abbd35af24e55368ce4e09f4038dc2aba3ff5f |
CWE
CWE-639
References
- https://github.com/lenve/vhr/issues/350
- https://github.com/lenve/vhr
- https://github.com/lenve/vhr/blob/03abbd35af24e55368ce4e09f4038dc2aba3ff5f/vhr/vhrserver/vhr-web/src/main/java/org/javaboy/vhr/controller/HrInfoController.java
- https://github.com/lenve/vhr/blob/03abbd35af24e55368ce4e09f4038dc2aba3ff5f/vhr/vhrserver/vhr-service/src/main/java/org/javaboy/vhr/service/HrService.java
- https://www.vulncheck.com/advisories/vhr-missing-authorization-in-put-hr-pass-allows-cross-account-password-change
ADP enrichment
No English description supplied.