CVE-2021-27197 Path traversal in n/a

High 8.1 Published Updated

Remote attackers can overwrite arbitrary files via a crafted HTML page due to insufficient validation in DSUtility.dll, potentially leading to code execution.

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-2021-27197?

CVE-2021-27197 is a high-severity path traversal vulnerability in n/a, published on 12 Feb 2021. 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

DSUtility.dll in Pelco Digital Sentry Server before 7.19.67 has an arbitrary file write vulnerability. The AppendToTextFile method doesn't check if it's being called from the application or from a malicious user. The vulnerability is triggered when a remote attacker crafts an HTML page (e.g., with "OBJECT classid=" and "<SCRIPT language='vbscript'>") to overwrite arbitrary files.

Weakness: CWE-346

Which versions are affected by CVE-2021-27197?

It affects 1 product.

Products include Pelco Digital Sentry Server.

How do I fix CVE-2021-27197?

No fix has been published for CVE-2021-27197 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-27197 being exploited?

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

Sources

Also known as GHSA-gc59-gfp7-vrrr.

Is CVE-2021-27197 in your software?

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

Check your SBOMs for free