# CVE-2017-7852: Cross-site request forgery in n/a

> Attackers can exploit insecure CrossDomain.XML settings to perform CSRF attacks, allowing unauthorized access to camera feeds and administrative changes.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 24 Apr 2017
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-773f-3254-99j9

## What is CVE-2017-7852?

CVE-2017-7852 is a high-severity vulnerability in n/a, published on 24 Apr 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

D-Link DCS cameras have a weak/insecure CrossDomain.XML file that allows sites hosting malicious Flash objects to access and/or change the device's settings via a CSRF attack. This is because of the 'allow-access-from domain' child element set to *, thus accepting requests from any domain. If a victim logged into the camera's web console visits a malicious site hosting a malicious Flash file from another Browser tab, the malicious Flash file then can send requests to the victim's DCS series Camera without knowing the credentials. An attacker can host a malicious Flash file that can retrieve Live Feeds or information from the victim's DCS series Camera, add new admin users, or make other changes to the device. Known affected devices are DCS-933L with firmware before 1.13.05, DCS-5030L, DCS-5020L, DCS-2530L, DCS-2630L, DCS-930L, DCS-932L, and DCS-932LB1.

Weakness: CWE-352 (Cross-Site Request Forgery)

## Which versions are affected by CVE-2017-7852?

It affects 26 products.


Products: Dlink Dcs-2132l Firmware, Dlink Dcs-2136l Firmware, Dlink Dcs-2210l Firmware, Dlink Dcs-2230l Firmware, Dlink Dcs-2310l Firmware, Dlink Dcs-2330l Firmware, Dlink Dcs-2332l Firmware, Dlink Dcs-2530l Firmware, Dlink Dcs-5000l Firmware, Dlink Dcs-5009l Firmware, Dlink Dcs-5010l Firmware, Dlink Dcs-5020l Firmware, Dlink Dcs-5025l Firmware, Dlink Dcs-5029l Firmware, Dlink Dcs-5030l Firmware, Dlink Dcs-5222l Firmware, Dlink Dcs-6010l Firmware, Dlink Dcs-6212l Firmware, Dlink Dcs-7000l Firmware, Dlink Dcs-7010l Firmware and 6 more.

## How do I fix CVE-2017-7852?

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

## Is CVE-2017-7852 being exploited?

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

Public exploit code:

- D-Link DCS Series Cameras - Insecure Crossdomain (exploitdb)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-7852 and fix it if it is affected.

What it is: CVE-2017-7852 is a high-severity vulnerability in n/a, published on 24 Apr 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2017-7852 in the wild and no public exploit code.

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-2017-7852/ (Markdown: https://insights.sbomify.com/CVE-2017-7852/index.md)
```

## Sources

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

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