GHSA-536p-4pcj-5mr9

Suggest an improvement
Source
https://github.com/advisories/GHSA-536p-4pcj-5mr9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-536p-4pcj-5mr9/GHSA-536p-4pcj-5mr9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-536p-4pcj-5mr9
Aliases
Published
2021-09-02T17:10:52Z
Modified
2023-11-08T04:06:28.372863Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-08-24T13:15:00Z",
    "github_reviewed_at": "2021-08-25T19:43:55Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-276",
        "CWE-732"
    ]
}
References

Affected packages

Packagist / billz/raspap-webgui

Package

Name
billz/raspap-webgui
Purl
pkg:composer/billz/raspap-webgui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.6.6

Affected versions

2.*

2.4.1
2.5
2.5.1
2.5.2
2.6-beta
2.6
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6