Advisory

GHSA-536p-4pcj-5mr9

Also known as: CVE-2021-38557

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-02 17:10 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

billz/raspap-webgui

Packagist · All systems

Affected

  • introduced 0, last affected 2.6.6 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences