CVE-2024-51735 Stored Cross-site Scripting to RCE on Osmedeus Web Server

High 8.7 Published Updated

Attackers can execute arbitrary commands on the server via stored XSS in generated reports, affecting Osmedeus users.

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
Available

What is CVE-2024-51735?

CVE-2024-51735 is a high-severity cross-site scripting vulnerability in j3ssie osmedeus, published on 5 Nov 2024. 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

Osmedeus is a Workflow Engine for Offensive Security. Cross-site Scripting (XSS) occurs on the Osmedues web server when viewing results from the workflow, allowing commands to be executed on the server. When using a workflow that contains the summary module, it generates reports in HTML and Markdown formats. The default report is based on the `general-template.md` template.The contents of the files are read and used to generate the report. However, the file contents are not properly filtered, leading to XSS. This may lead to commands executed on the host as well. This issue is not yet resolved. Users are advised to add their own filtering or to reach out to the developer to aid in developing a patch.

Weakness: CWE-80, CWE-79

Which versions are affected by CVE-2024-51735?

3 open source packages ship an affected version, including github.com/j3ssie/osmedeus.

PackageAffectedFixed in
github.com/j3ssie/osmedeus GoAll versionsNone
github.com/j3ssie/osmedeus GoAll versions to 4.6.4None
github.com/j3ssie/osmedeus GoAll versions to 4.6.4None

How do I fix CVE-2024-51735?

No fix published yet.

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-2024-51735 being exploited?

There is no known exploitation of CVE-2024-51735 in the wild and no public exploit code.

Sources

Also known as GHSA-wvv7-wm5v-w2gv, GO-2024-3254.

Is CVE-2024-51735 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free