Skip to main content

CVE-2022-39986 — Vulnerability in billz/raspap-webgui — CVE Details

CRITICAL

RaspAP Command Injection vulnerability

Published August 1, 2023Updated February 16, 2024Source: OSV

What Should I Do?

Fix in Your Next Sprint

This vulnerability has a 78.16% chance of being exploited within 30 days.

Does your project use an affected billz/raspap-webgui version?

Paste your composer.lock to check it for CVE-2022-39986 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.

Advisory Timeline

  • First published August 1, 2023 (1213 days ago).
  • Last revised February 16, 2024 — 199 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update billz/raspap-webgui to 2.8.8 or later
composer require "billz/raspap-webgui:^2.8.8"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
billz/raspap-webgui Packagist · Affected: 2.8.0, 2.8.1, 2.8.2, 2.8.3 (+4 more)2.8.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-39986?
RaspAP Command Injection vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-39986?
CVE-2022-39986 affects billz/raspap-webgui. It has a 78.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-39986 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
78.16%
EPSS percentile: 99.7

This places it in the top 5% of EPSS-scored vulnerabilities — 99.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-7c28-wg7r-pg6f

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock