CVE-2023-38306 Cross-site scripting in n/a
Attackers can bypass file upload restrictions in Webmin to inject malicious scripts, potentially leading to code execution or security bypass.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-38306?
CVE-2023-38306 is a medium-severity cross-site scripting vulnerability in Webmin Webmin, published on 31 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in Webmin 2.021. A Cross-site Scripting (XSS) Bypass vulnerability was discovered in the file upload functionality. Normally, the application restricts the upload of certain file types such as .svg, .php, etc., and displays an error message if a prohibited file type is detected. However, by following certain steps, an attacker can bypass these restrictions and inject malicious code.
Weakness: CWE-79
Which versions are affected by CVE-2023-38306?
It affects 1 product.
Products include Webmin Webmin.
How do I fix CVE-2023-38306?
No fix has been published for CVE-2023-38306 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-38306 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38306 exists.
Other vulnerabilities in Webmin Webmin
Sources
Also known as GHSA-393c-4g2g-74rm.