GitHub Advisoryadvisory · Packagist

GHSA-536p-4pcj-5mr9 raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.

HIGH Published 2021-09-02 Modified 2021-09-03 Official page ↗
Aliases
CVE-2021-38557
Ecosystem
Packagist
Packages
billz/raspap-webgui
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-276, CWE-732
Reviewed
2021-08-25

Affected packages

• Packagist billz/raspap-webgui: <= 2.6.6 (no fix yet)

Description

raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions. The www-data account can execute /etc/raspap/hostapd/enablelog.sh as root with no password; however, the www-data account can also overwrite /etc/raspap/hostapd/enablelog.sh with any executable content.

Related

Alias · CVE (1)

  • CVE-2021-38557 raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions. vulnerability

Weakness · CWE (2)

  • CWE-276 Incorrect Default Permissions weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References