PT-2019-11498 · Phkp · Phkp
Twagner
·
Published
2019-07-24
·
Updated
2020-08-24
·
CVE-2019-1010179
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions:
PHKP including commit 88fd9cfdf14ea4b6ac3e3967feea7bcaabb6f03b
Description:
The issue concerns improper neutralization of special elements used in a command, which can lead to command injection. This allows for the manipulation of gpg-keys or the execution of commands remotely. The vulnerable component is the
pgp exec() function in phkp.php at line 98. The attack vector is the HKP-Api, specifically the /pks/lookup?search endpoint.Recommendations:
For PHKP including commit 88fd9cfdf14ea4b6ac3e3967feea7bcaabb6f03b, consider disabling the
pgp exec() function as a temporary workaround until a patch is available. Restrict access to the /pks/lookup?search endpoint to minimize the risk of exploitation.Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Phkp