CVE-2017-20289
Description
Broadstreet Ad Widget plugin for WordPress 2.2.0 before 2.12.0 contains a local file inclusion vulnerability that allows authenticated users to execute attacker-chosen PHP files by passing unsanitized input to require in views/modal/index.php. Attackers can supply directory traversal sequences in the 'step' parameter, optionally with a null byte, to include local files and execute PHP code. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-19.
Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H · source cna
CVSS v4
7.7
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N · source cna
Exploit chance (EPSS)
0.931%
chance of exploitation in the next 30 days
higher than 61.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-10-23 |
Timeline
- 2026-10-22Published by the CNA10:57 UTC
- 2026-10-23CISA SSVC decision recorded1 day after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| broadstreet ad_widget | from 2.2.0 before 2.12.0fixed in 2.12.0 | 2.12.0 |
References
- https://plugins.trac.wordpress.org/changeset/1628751/ad-widget
- https://cxsecurity.com/issue/WLB-2017100084
- https://packetstorm.news/files/id/144553/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/ad-widget-lfi.yaml
- https://wordpress.org/plugins/ad-widget/
- https://wpscan.com/vulnerability/caca21fe-56bf-4d4c-afc8-4a218e52f0a2
- https://www.vulncheck.com/advisories/broadstreet-ad-widget-wordpress-plugin-2.12.0-local-file-inclusion-via-step-parameter
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-20289'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-20289'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-20289'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-20289'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).