CVE-2019-10774 json
php-shellcommand command injection vulnerability
published 6y ago modified 4mo ago also GHSA-c7fv-wv9f-cgjw , EUVD-2022-3527
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.6%
- EPSS 4.6% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
php-shellcommand versions before 1.6.1 have a command injection vulnerability. Successful exploitation could lead to arbitrary code execution.
Patch / fix
- packagist mikehaertl/php-shellcommand 1.6.1
- php-shellcommand_project php-shellcommand 1.6.1
- php-shellcommand Debian 14, Debian 13, Debian 12 1.6.1-1
debian advisories DEBIAN-CVE-2019-10774
Is CVE-2019-10774 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
4.63% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-PHP-MIKEHAERTLPHPSHELLCOMMAND-538426 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mikehaertl/php-shellcommand | <1.6.1 |
1.6.1 |
Affected products
- n/a php-shellcommand
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
snyk.io
/vuln/SNYK-PHP-MIKEHAERTLPHPSHELLCOMMAND-538426
web, exploit, patch, third-party-advisory
-
github.com
/mikehaertl/php-shellcommand/commit/8d98d8536e05abafe76a491da87296d824939076
web
-
nvd.nist.gov
/vuln/detail/CVE-2019-10774
advisory
-
github.com
/mikehaertl/php-shellcommand
package
Sources
- CVE List CVE-2019-10774
- GitHub Advisory GHSA-c7fv-wv9f-cgjw
- NVD CVE-2019-10774
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.