Skip to content
OpenAdvisories
High · 8.8 CVE-2021-38557 EUVD-2021-1979GHSA-536p-4pcj-5mr9

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

Published Aug 24, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist billz/raspap-webgui <= 2.6.6 — GHSA-536p-4pcj-5mr9

References