CVE-2023-38311 Cross-site scripting in n/a
An attacker can inject malicious scripts into the System Logs Viewer configuration, leading to code execution or account takeover when the page is accessed.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-38311?
CVE-2023-38311 is a medium-severity cross-site scripting vulnerability in Webmin Webmin, published on 31 Jul 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in Webmin 2.021. A Stored Cross-Site Scripting (XSS) vulnerability was discovered in the System Logs Viewer functionality. The vulnerability allows an attacker to store a malicious payload in the configuration field, triggering the execution of the payload when saving the configuration or when accessing the System Logs Viewer page.
Weakness: CWE-79
Which versions are affected by CVE-2023-38311?
It affects 1 product.
Products include Webmin Webmin.
How do I fix CVE-2023-38311?
No fix has been published for CVE-2023-38311 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-38311 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38311 exists.
Other vulnerabilities in Webmin Webmin
Sources
Also known as GHSA-xgfv-mhg2-f5q3.