# CVE-2023-47613: Path traversal in BGS5

> A local low-privileged attacker can escape virtual directories to read and write protected files on Telit Cinterion modules.

- **Severity:** Medium 4.4 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 9 Nov 2023
- **Updated:** 3 Sep 2024
- **Also known as:** GHSA-36hj-g8jh-r4rq

## What is CVE-2023-47613?

CVE-2023-47613 is a medium-severity path traversal vulnerability in Telit Cinterion BGS5, published on 9 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A CWE-23: Relative Path Traversal vulnerability exists in Telit Cinterion BGS5, Telit Cinterion EHS5/6/8, Telit Cinterion PDS5/6/8, Telit Cinterion ELS61/81, Telit Cinterion PLS62 that could allow a local, low privileged attacker to escape from virtual directories and get read/write access to protected files on the targeted system.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-23 (Relative Path Traversal)

## Which versions are affected by CVE-2023-47613?

It affects 10 products.


Products: Telit Bgs5 Firmware, Telit Ehs5 Firmware, Telit Ehs6 Firmware, Telit Ehs8 Firmware, Telit Els61 Firmware, Telit Els81 Firmware, Telit Pds5 Firmware, Telit Pds6 Firmware, Telit Pds8 Firmware, Telit Pls62 Firmware.

## How do I fix CVE-2023-47613?

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

## Is CVE-2023-47613 being exploited?

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

## Other vulnerabilities in Telit Cinterion BGS5

- [CVE-2023-47610](https://insights.sbomify.com/CVE-2023-47610/): Memory corruption in EHS5 (high 8.1)
- [CVE-2023-47611](https://insights.sbomify.com/CVE-2023-47611/): Privilege escalation in BGS5 (high 7.8)
- [CVE-2023-47612](https://insights.sbomify.com/CVE-2023-47612/): Information disclosure in BGS5 (medium 6.8)
- [CVE-2023-47614](https://insights.sbomify.com/CVE-2023-47614/): Information disclosure in BGS5 (low 3.3)
- [CVE-2023-47615](https://insights.sbomify.com/CVE-2023-47615/): Information disclosure in BGS5 (low 3.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-47613 and fix it if it is affected.

What it is: CVE-2023-47613 is a medium-severity path traversal vulnerability in Telit Cinterion BGS5, published on 9 Nov 2023. 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-2023-47613 in the wild and no public exploit code.

Affected product: Telit Cinterion BGS5. 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-2023-47613/ (Markdown: https://insights.sbomify.com/CVE-2023-47613/index.md)
```

## Sources

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

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