CVE-2023-25827 Cross-site Scripting in OpenTSDB
Attackers can inject malicious JavaScript into OpenTSDB error messages, executing code in victim browsers via the legacy HTTP query API.
- 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-25827?
CVE-2023-25827 is a high-severity cross-site scripting vulnerability in OpenTSDB, published on 3 May 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
Due to insufficient validation of parameters reflected in error messages by the legacy HTTP query API and the logging endpoint, it is possible to inject and execute malicious JavaScript within the browser of a targeted OpenTSDB user. This issue shares the same root cause as CVE-2018-13003, a reflected XSS vulnerability with the suggestion endpoint.
Weakness: CWE-79
Which versions are affected by CVE-2023-25827?
2 open source packages ship an affected version, including net.opentsdb:opentsdb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
net.opentsdb:opentsdb Maven | All versions to 2.4.1 | None |
net.opentsdb:opentsdb Maven | All versions to 2.4.1 | None |
Products include Opentsdb Opentsdb.
How do I fix CVE-2023-25827?
No fix has been published for CVE-2023-25827 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-25827 being exploited?
There is no known exploitation of CVE-2023-25827 in the wild and no public exploit code.
Other vulnerabilities in OpenTSDB
Sources
Also known as GHSA-9chv-3w6c-jq9w.