CVE-2023-30260
PHP vulnerability analysis and mitigation

Overview

Command injection vulnerability (CVE-2023-30260) was discovered in RaspAP raspap-webgui versions 2.8.8 and earlier. The vulnerability was identified in March 2023 and allows remote attackers to execute arbitrary commands via crafted POST requests to the hostapd settings form. The affected software, RaspAP, is a web interface for managing Raspberry Pi-based wireless access points (NVD, Security Advisory).

Technical details

The vulnerability exists due to improper sanitization of user input in multiple locations, specifically in hostapd.php (lines 103 and 108) and configure_client.php (line 20). The issue stems from unsanitized POST variables being directly fed into commands executed using exec(). The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating high impact on confidentiality, integrity, and availability (NVD, Security Advisory).

Impact

An authenticated attacker can execute arbitrary commands with the privileges of the web server (www-data). In the default RaspAP configuration, this vulnerability can be leveraged to gain root access by exploiting configured sudo permissions. The attacker can achieve this by overwriting the OpenVPN client configuration and establishing an OpenVPN connection, allowing execution of arbitrary scripts with root privileges (Security Advisory).

Mitigation and workarounds

The vulnerability has been patched in RaspAP version 2.8.9. The fix involves applying proper sanitization to the txpower and interface parameters using PHP's built-in escapeshellarg() function before passing them to exec(). Users are advised to upgrade to version 2.8.9 or later to protect against this vulnerability (GitHub PR, Security Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management