CVE-2008-1045 Alkacon OpenCMS XSS via file tree navigation in system/workplace/views/explorer/tree_files.jsp

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via the resource parameter in the file tree navigation function.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2008-1045?

CVE-2008-1045 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Feb 2008. It can be exploited over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the file tree navigation function in system/workplace/views/explorer/tree_files.jsp in Alkacon OpenCMS 7.0.3 allows remote attackers to inject arbitrary web script or HTML via the resource parameter.

Weakness: CWE-79

Which versions are affected by CVE-2008-1045?

2 open source packages ship an affected version, including org.opencms:opencms-core. It affects 1 product.

PackageAffectedFixed in
org.opencms:opencms-core MavenAll versions7.0.4
org.opencms:opencms-core MavenAll versions7.0.4

Products include Alkacon Opencms.

How do I fix CVE-2008-1045?

Upgrade org.opencms:opencms-core to 7.0.4 or later.

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-2008-1045 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-1045 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-v965-wwrq-gxfg.

Is CVE-2008-1045 in your software?

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

Check your SBOMs for free