CVE-2022-0848
published 2022-03-04CVE-2022-0848: OS Command Injection in GitHub repository part-db/part-db prior to 0.5.11.
PriorityP276critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
35.44%
98.2th percentile
OS Command Injection in GitHub repository part-db/part-db prior to 0.5.11.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| part-db | part-db_part-db | >= unspecified < 0.5.11 | 0.5.11 |
| part-db_project | part-db | < 0.5.11 | 0.5.11 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for multipart POST file uploads to show_part_label.php where the uploaded file has a .phtml extension (or other executable PHP extensions) in the logo_file field — this is the delivery mechanism for the webshell. ↗
- →Alert on any new .phtml (or .php) files appearing under the /data/media/labels/ directory of a Part-DB installation, as this is where the exploit drops the webshell after upload. ↗
- →Detect HTTP GET/POST requests to /data/media/labels/*.phtml — successful exploitation results in direct web-accessible shell execution at this path. ↗
- ·The exploit targets Part-DB versions prior to 0.5.11; the vulnerable endpoint show_part_label.php accepts arbitrary file uploads without validating the file extension, allowing .phtml webshells to be stored in a web-accessible directory. ↗
- ·The exploit script hard-codes a default sub-path of /Part-DB-0.5.10 on the web host, suggesting default/unmodified installations are the primary target; detections should also cover non-default install paths. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv3.010.0CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No writeups or analysis indexed.
http://packetstormsecurity.com/files/166217/part-db-0.5.11-Remote-Code-Execution.htmlhttps://github.com/part-db/part-db/commit/9cd4eee393028aa4cab70fcbac284b0028c0bc95https://huntr.dev/bounties/3e91685f-cfb9-4ee4-abaf-9b712a8fd5a6http://packetstormsecurity.com/files/166217/part-db-0.5.11-Remote-Code-Execution.htmlhttps://github.com/part-db/part-db/commit/9cd4eee393028aa4cab70fcbac284b0028c0bc95https://huntr.dev/bounties/3e91685f-cfb9-4ee4-abaf-9b712a8fd5a6
2022-03-04
Published