CVE-2019-10767 Arbitrary File Write in iobroker.js-controller

High 7.5 Published Updated

An attacker can read files outside the intended directory via the admin panel, exposing sensitive data if authentication is disabled or bypassed.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-10767?

CVE-2019-10767 is a high-severity path traversal vulnerability in iobroker.js-controller, published on 21 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An attacker can include file contents from outside the `/adapter/xxx/` directory, where `xxx` is the name of an existent adapter like "admin". It is exploited using the administrative web panel with a request for an adapter file. **Note:** The attacker has to be logged in if the authentication is enabled (by default isn't enabled).

Weakness: CWE-22

Which versions are affected by CVE-2019-10767?

2 open source packages ship an affected version, including iobroker.js-controller. It affects 1 product.

PackageAffectedFixed in
iobroker.js-controller npmAll versions2.0.25
iobroker.js-controller npmAll versions2.0.25

Products include Iobroker Iobroker.js-Controller.

How do I fix CVE-2019-10767?

Upgrade iobroker.js-controller to 2.0.25 or later.

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

Is CVE-2019-10767 being exploited?

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

Sources

Also known as GHSA-cmch-296j-wfvw, SNYK-JS-IOBROKERJSCONTROLLER-534881.

Is CVE-2019-10767 in your software?

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

Check your SBOMs for free