CVE-2013-6786 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via crafted HTTP headers on vulnerable routers, requiring user interaction to trigger the XSS payload.

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
None listed

What is CVE-2013-6786?

CVE-2013-6786 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Jan 2014. 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

Cross-site scripting (XSS) vulnerability in Allegro RomPager before 4.51, as used on the ZyXEL P660HW-D1, Huawei MT882, Sitecom WL-174, TP-LINK TD-8816, and D-Link DSL-2640R and DSL-2641R, when the "forbidden author header" protection mechanism is bypassed, allows remote attackers to inject arbitrary web script or HTML by requesting a nonexistent URI in conjunction with a crafted HTTP Referer header that is not properly handled in a 404 page. NOTE: there is no CVE for a "URL redirection" issue that some sources list separately.

Weakness: CWE-79

Which versions are affected by CVE-2013-6786?

It affects 7 products.

Products include Allegrosoft Rompager, Dlink Dsl-2640r, Dlink Dsl-2641r, Huawei Mt882, Sitecom Wl-174, Tp-Link Td-8816 and 1 more.

How do I fix CVE-2013-6786?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2013-6786 being exploited?

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

Sources

Also known as GHSA-cqrh-v7qh-v682.

Is CVE-2013-6786 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free