CVE-2023-31166 Improper Limitation of a Pathname to a Restricted Directory

Medium 4.1 Published Updated

Remote authenticated attackers can create folders in arbitrary file system paths via path traversal in the SEL RTAC Web Interface.

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-2023-31166?

CVE-2023-31166 is a medium-severity path traversal vulnerability in Schweitzer Engineering Laboratories SEL-2241 RTAC module, published on 10 May 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the Schweitzer Engineering Laboratories Real-Time Automation Controller (SEL RTAC) Web Interface could allow a remote authenticated attacker to create folders in arbitrary paths of the file system.

See SEL Service Bulletin dated 2022-11-15 for more details.

Weakness: CWE-22

Which versions are affected by CVE-2023-31166?

It affects 10 products.

Products include Selinc Sel-2241 Rtac Module Firmware, Selinc Sel-3350 Firmware, Selinc Sel-3505-3 Firmware, Selinc Sel-3505 Firmware, Selinc Sel-3530-4 Firmware, Selinc Sel-3530 Firmware and 4 more.

How do I fix CVE-2023-31166?

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

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

Sources

Also known as GHSA-5g6v-28xg-q6hr.

Is CVE-2023-31166 in your software?

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

Check your SBOMs for free