# CVE-2019-19823: Hardcoded credentials in n/a

> Attackers can extract cleartext administrative passwords from flash memory or files in various routers using Realtek APMIB, leading to full device compromise.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 27 Jan 2020
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-vj2g-8grq-fccw

## What is CVE-2019-19823?

CVE-2019-19823 is a high-severity vulnerability in n/a, published on 27 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A certain router administration interface (that includes Realtek APMIB 0.11f for Boa 0.94.14rc21) stores cleartext administrative passwords in flash memory and in a file. This affects TOTOLINK A3002RU through 2.0.0, A702R through 2.1.3, N301RT through 2.1.6, N302R through 3.4.0, N300RT through 3.4.0, N200RE through 4.0.0, N150RT through 3.4.0, and N100RE through 3.4.0; Rutek RTK 11N AP through 2019-12-12; Sapido GR297n through 2019-12-12; CIK TELECOM MESH ROUTER through 2019-12-12; KCTVJEJU Wireless AP through 2019-12-12; Fibergate FGN-R2 through 2019-12-12; Hi-Wifi MAX-C300N through 2019-12-12; HCN MAX-C300N through 2019-12-12; T-broad GN-866ac through 2019-12-12; Coship EMTA AP through 2019-12-12; and IO-Data WN-AC1167R through 2019-12-12.

Weakness: CWE-522 (Insufficiently Protected Credentials)

## Which versions are affected by CVE-2019-19823?

It affects 18 products.


Products: Ciktel Mesh Router Firmware, Coship Emta Ap Firmwre, Fg-Products Fgn-R2 Firmware, Hcn Max-C300n Project Hcn Max-C300n Firmware, Hiwifi Max-C300n Firmware, Iodata Wn-Ac1167r Firmwre, Kctvjeju Wireless Ap Firmware, Realtek Rtk 11n Ap Firmware, Sapido Gr297n Firmware, Tbroad Gn-866ac Firmware, Totolink A3002ru Firmware, Totolink A702r Firmware, Totolink N100re Firmware, Totolink N150rt Firmware, Totolink N200re Firmware, Totolink N300rt Firmware, Totolink N301rt Firmware, Totolink N302r Firmware.

## How do I fix CVE-2019-19823?

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

## Is CVE-2019-19823 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-19823 exists.

Public exploit code:

- TOTOLINK/Realtek Routers - Information Disclosure (nuclei): http/cves/2019/CVE-2019-19823.yaml

## Other vulnerabilities in n/a

- [CVE-2019-19822](https://insights.sbomify.com/CVE-2019-19822/): Auth bypass in n/a (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-19823 and fix it if it is affected.

What it is: CVE-2019-19823 is a high-severity vulnerability in n/a, published on 27 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-19823 exists.

Affected product: n/a. 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-2019-19823/ (Markdown: https://insights.sbomify.com/CVE-2019-19823/index.md)
```

## Sources

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

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