# CVE-2020-1842: Auth bypass in HEGE-560

> Physical attackers can bypass authentication on Huawei network devices to gain high privileges.

- **Severity:** Medium 6.8 (`CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 18 Feb 2020
- **Updated:** 4 Aug 2024
- **Also known as:** GHSA-v7w4-x8mq-35m8

## What is CVE-2020-1842?

CVE-2020-1842 is a medium-severity authentication bypass vulnerability in Huawei HEGE-560, published on 18 Feb 2020. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Huawei HEGE-560 version 1.0.1.20(SP2); OSCA-550 and OSCA-550A version 1.0.0.71(SP1); and OSCA-550AX and OSCA-550X version 1.0.0.71(SP2) have an insufficient authentication vulnerability. An attacker can access the device physically and perform specific operations to exploit this vulnerability. Successful exploitation may cause the attacker obtain high privilege.

Weakness: CWE-287 (Improper Authentication)

## Which versions are affected by CVE-2020-1842?

It affects 5 products.


Products: Huawei Hege-560 Firmware, Huawei Osca-550 Firmware, Huawei Osca-550a Firmware, Huawei Osca-550ax Firmware, Huawei Osca-550x Firmware.

## How do I fix CVE-2020-1842?

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

## Is CVE-2020-1842 being exploited?

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

## Other vulnerabilities in Huawei HEGE-560

- [CVE-2020-1843](https://insights.sbomify.com/CVE-2020-1843/): Security feature bypass in HEGE-560 (medium 6.8)
- [CVE-2020-1855](https://insights.sbomify.com/CVE-2020-1855/): Missing authorization in HEGE-560, OSCA-550, OSCA-550A, OSCA-550AX, OSCA-550X (medium 6.1)
- [CVE-2020-1879](https://insights.sbomify.com/CVE-2020-1879/): Security feature bypass in HEGE-560;HEGE-570;OSCA-550;OSCA-550A;OSCA-550AX;OSCA-550X (low 3.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-1842 and fix it if it is affected.

What it is: CVE-2020-1842 is a medium-severity authentication bypass vulnerability in Huawei HEGE-560, published on 18 Feb 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-1842 in the wild and no public exploit code.

Affected product: Huawei HEGE-560. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-1842/ (Markdown: https://insights.sbomify.com/CVE-2020-1842/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-1842
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-1842
- OSV: https://osv.dev/vulnerability/CVE-2020-1842

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-1842/
Summaries are generated and may contain mistakes; the official description above is the record.
