Phkp · Phkp · CVE-2019-1010179
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.