{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.991"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6a2334bf8b27d55c7edf0b2825cd14f3f8a69d4d"
            }
          ],
          "repo": "https://github.com/webmin/webmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30708.json"
  },
  "details": "Webmin through 1.991, when the Authentic theme is used, allows remote code execution when a user has been manually created (i.e., not created in Virtualmin or Cloudmin). This occurs because settings-editor_write.cgi does not properly restrict the file parameter.",
  "id": "CVE-2022-30708",
  "modified": "2026-07-15T01:48:50.015933002Z",
  "published": "2022-05-15T02:30:14Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/esp0xdeadbeef/rce_webmin/blob/main/exploit.py"
    },
    {
      "type": "WEB",
      "url": "https://webmin.com/changes.html"
    },
    {
      "type": "WEB",
      "url": "https://www.twitch.tv/videos/1483029790"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30708.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-30708"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/webmin/webmin/issues/1635"
    },
    {
      "type": "FIX",
      "url": "https://github.com/webmin/webmin/commit/6a2334bf8b27d55c7edf0b2825cd14f3f8a69d4d"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/esp0xdeadbeef/rce_webmin"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/webmin/authentic-theme/releases"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/webmin/webmin/releases"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:N",
      "type": "CVSS_V3"
    }
  ]
}