CVE-2022-4585 Opencaching Deutschland oc-server3 Cookie start.tpl cross site scripting

Low 3.5 Published Updated

Remote attackers can execute arbitrary scripts via the usercountryCode cookie in Opencaching Deutschland oc-server3, potentially compromising user sessions.

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-2022-4585?

CVE-2022-4585 is a low-severity cross-site scripting vulnerability in Opencaching Deutschland oc-server3, published on 17 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability classified as problematic has been found in Opencaching Deutschland oc-server3. This affects an unknown part of the file htdocs/templates2/ocstyle/start.tpl of the component Cookie Handler. The manipulation of the argument usercountryCode leads to cross site scripting. It is possible to initiate the attack remotely. The name of the patch is c720f2777a452186c67ef30db3679dd409556544. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-216171.

Weakness: CWE-79, CWE-707

Which versions are affected by CVE-2022-4585?

It affects 1 product.

Products include Oc-Server3 Project Oc-Server3.

How do I fix CVE-2022-4585?

No fix has been published for CVE-2022-4585 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-2022-4585 being exploited?

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

Sources

Also known as GHSA-6rrr-cv38-85fp.

Is CVE-2022-4585 in your software?

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

Check your SBOMs for free