Os Acme Client
Monthly
Authenticated command injection in the OPNsense os-acme-client plugin (through 4.17) lets a user who can issue or renew certificates through the WebGUI/API run arbitrary commands as root on the firewall. The DnsGcloud::prepare() method takes the gcloud_account and gcloud_project values from the dns_gcloud_key model and interpolates them unescaped into gcloud shell commands executed via proc_open(), so crafted field contents execute when a Google Cloud DNS (DNS-01) validation run starts. Reaching the flaw requires the Google Cloud DNS validation method to be configured and the attacker to hold certificate-management privileges; the recent plugin release 4.18 replaces the raw interpolation with Shell::exec_safe(), and no public exploit code was identified at time of analysis. The vendor fix is available and the prioritizing decision is act_now.
Authenticated command injection in the OPNsense os-acme-client plugin (through 4.17) lets a user who can issue or renew certificates through the WebGUI/API run arbitrary commands as root on the firewall. The DnsGcloud::prepare() method takes the gcloud_account and gcloud_project values from the dns_gcloud_key model and interpolates them unescaped into gcloud shell commands executed via proc_open(), so crafted field contents execute when a Google Cloud DNS (DNS-01) validation run starts. Reaching the flaw requires the Google Cloud DNS validation method to be configured and the attacker to hold certificate-management privileges; the recent plugin release 4.18 replaces the raw interpolation with Shell::exec_safe(), and no public exploit code was identified at time of analysis. The vendor fix is available and the prioritizing decision is act_now.