Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. billz/raspap-webgui
  4. ›
  5. CVE-2022-39987

CVE-2022-39987: Improper Neutralization of Special Elements used in a Command ('Command Injection')

August 1, 2023 (updated August 4, 2023)

A Command injection vulnerability in RaspAP 2.8.0 thru 2.9.2 allows an authenticated attacker to execute arbitrary OS commands as root via the “entity” POST parameters in /ajax/networking/get_wgkey.php.

References

  • github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php
  • github.com/advisories/GHSA-7r88-wjhj-jr8m
  • medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
  • nvd.nist.gov/vuln/detail/CVE-2022-39987

Code Behaviors & Features

Detect and mitigate CVE-2022-39987 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.8.0 up to 2.9.2

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/billz/raspap-webgui/CVE-2022-39987.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.