{"id":"CVE-2022-30708","aliases":["EUVD-2022-52538","GHSA-jgr2-cp5w-vm48","MGASA-2022-0216"],"status":"published","title":"Webmin through 1.991, when the Authentic theme is used, allows remote code execution when a user...","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.03827,"percentile":0.90159,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-05-15T02:30:14Z","modified":"2026-10-28T02:31:05Z","fixes":[{"ecosystem":"Mageia:8","package":"webmin","fixed_in":["1.994-1.mga8"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:8","package":"webmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.994-1.mga8"}]}]}],"products":[{"vendor":"webmin","product":"webmin"}],"references":[{"url":"https://github.com/webmin/webmin/issues/1635","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/esp0xdeadbeef/rce_webmin","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","package"]},{"url":"https://www.twitch.tv/videos/1483029790","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/webmin/webmin/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","package"]},{"url":"https://github.com/webmin/authentic-theme/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","package"]},{"url":"https://webmin.com/changes.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"https://github.com/webmin/webmin/commit/6a2334bf8b27d55c7edf0b2825cd14f3f8a69d4d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/esp0xdeadbeef/rce_webmin/blob/main/exploit.py","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30708","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jgr2-cp5w-vm48"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30708.json","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0216.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30465","tags":["report"]},{"url":"https://www.webmin.com/security.html","tags":["web"]},{"url":"https://www.webmin.com/changes.html","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-30708","description":"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.","status":"published","published":"2022-05-15T02:30:14Z","modified":"2024-08-03T06:56:13.713Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:N","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:31.184134Z"}],"euvd":[{"id":"EUVD-2022-52538","description":"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.","status":"published","published":"2022-05-15T02:30:14Z","modified":"2024-08-03T06:56:13Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:N","level":"high"}],"updated_at":"2026-11-03T03:25:35.869088Z"}],"ghsa":[{"id":"GHSA-jgr2-cp5w-vm48","title":"Webmin through 1.991, when the Authentic theme is used, allows remote code execution when a user...","description":"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.","status":"published","published":"2022-05-16T00:00:37Z","modified":"2023-02-03T05:01:11Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:52:55.451166Z"}],"nvd":[{"id":"CVE-2022-30708","description":"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.","status":"published","published":"2022-05-15T03:15:07.06Z","modified":"2026-06-17T04:44:09.203Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:07:20.264424Z"}],"osv":[{"id":"CVE-2022-30708","description":"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.","status":"published","published":"2022-05-15T02:30:14Z","modified":"2026-10-28T02:31:05.828003556Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:N","level":"high"}],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"MGASA-2022-0216","title":"Updated webmin packages fix security vulnerability","description":"Less privileged Webmin users (excluding those created by Virtualmin and\nCloudmin) can modify arbitrary files with root privileges, and so run commands\nas root (CVE-2022-30708).\n","status":"published","published":"2022-06-03T17:15:11Z","modified":"2026-04-16T04:42:35.059826385Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
