{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.6.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "04fc73326bdbafe02b0312eb09097cb5eb5277de"
            }
          ],
          "repo": "https://github.com/raspap/raspap-webgui",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2021-38557",
  "modified": "2026-03-13T21:50:04.703222420Z",
  "published": "2021-08-24T13:15:14.513Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/RaspAP/raspap-webgui"
    },
    {
      "type": "EVIDENCE",
      "url": "https://zerosecuritypenetrationtesting.com/?page_id=306"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}