# CVE-2024-5195: Arris VAP2500 diag_s.php command injection

> Remote attackers can execute arbitrary commands on Arris VAP2500 devices via the customer_info argument in diag_s.php.

- **Severity:** Medium 5.1 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 22 May 2024
- **Updated:** 1 Aug 2024
- **Also known as:** GHSA-57fh-76pf-jqr3

## What is CVE-2024-5195?

CVE-2024-5195 is a medium-severity command injection vulnerability in Arris VAP2500, published on 22 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

A vulnerability was found in Arris VAP2500 08.50. It has been rated as critical. Affected by this issue is some unknown functionality of the file /diag_s.php. The manipulation of the argument customer_info leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-265832.

Weakness: CWE-77 (Improper Neutralization of Special Elements used in a Command)

## Which versions are affected by CVE-2024-5195?

It affects 1 product.


Products: Arris Vap2500 Firmware.

## How do I fix CVE-2024-5195?

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

## Is CVE-2024-5195 being exploited?

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

## Other vulnerabilities in Arris VAP2500

- [CVE-2014-8423](https://insights.sbomify.com/CVE-2014-8423/): Command injection in n/a (critical 10.0)
- [CVE-2014-8424](https://insights.sbomify.com/CVE-2014-8424/): Auth bypass in n/a (high 7.8)
- [CVE-2014-8425](https://insights.sbomify.com/CVE-2014-8425/): Information disclosure in n/a (high 7.8)
- [CVE-2024-5194](https://insights.sbomify.com/CVE-2024-5194/): Arris VAP2500 assoc_table.php command injection (medium 5.1)
- [CVE-2024-5196](https://insights.sbomify.com/CVE-2024-5196/): Arris VAP2500 tools_command.php command injection (medium 5.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-5195 and fix it if it is affected.

What it is: CVE-2024-5195 is a medium-severity command injection vulnerability in Arris VAP2500, published on 22 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-5195 in the wild and no public exploit code.

Affected product: Arris VAP2500. 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-2024-5195/ (Markdown: https://insights.sbomify.com/CVE-2024-5195/index.md)
```

## Sources

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

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