ghsa-42qm-c3cf-9wv2
Vulnerability from github
Published
2022-03-03 00:00
Modified
2022-03-10 15:55
Severity ?
VLAI Severity ?
Summary
Code injection in dolibarr/dolibarr
Details
Improper php function sanitization, lead to an ability to inject arbitrary PHP code and run arbitrary commands on file system. In the function "dol_eval" in file "dolibarr/htdocs/core/lib/functions.lib.php" dangerous PHP functions are sanitized using "str_replace" and can be bypassed using following code in $s parameter
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "dolibarr/dolibarr" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "15.0.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-0819" ], "database_specific": { "cwe_ids": [ "CWE-94" ], "github_reviewed": true, "github_reviewed_at": "2022-03-03T19:12:38Z", "nvd_published_at": "2022-03-02T16:15:00Z", "severity": "HIGH" }, "details": "Improper php function sanitization, lead to an ability to inject arbitrary PHP code and run arbitrary commands on file system. In the function \"dol_eval\" in file \"dolibarr/htdocs/core/lib/functions.lib.php\" dangerous PHP functions are sanitized using \"str_replace\" and can be bypassed using following code in $s parameter", "id": "GHSA-42qm-c3cf-9wv2", "modified": "2022-03-10T15:55:03Z", "published": "2022-03-03T00:00:49Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0819" }, { "type": "WEB", "url": "https://github.com/dolibarr/dolibarr/commit/2a48dd349e7de0d4a38e448b0d2ecbe25e968075" }, { "type": "PACKAGE", "url": "https://github.com/dolibarr/dolibarr" }, { "type": "WEB", "url": "https://huntr.dev/bounties/b03d4415-d4f9-48c8-9ae2-d3aa248027b5" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Code injection in dolibarr/dolibarr" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…