Lucene search
K

WordPress WP-Ban 1.62 Bypass Vulnerability

🗓️ 18 Sep 2014 00:00:00Reported by Tom AdamsType 
zdt
 zdt
🔗 0day.today👁 26 Views

Vulnerability in WP-Ban allows visitors to bypass IP blacklist through X-Forwarded-For heade

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2014-6230
25 Oct 201400:00
cve
Cvelist
CVE-2014-6230
25 Oct 201400:00
cvelist
EUVD
EUVD-2014-6116
7 Oct 202500:30
euvd
NVD
CVE-2014-6230
25 Oct 201400:55
nvd
Packet Storm
WordPress WP-Ban 1.62 Bypass
17 Sep 201400:00
packetstorm
Patchstack
WordPress WP Ban Plugin <= 1.6.3 - BYPASS
4 Sep 201400:00
patchstack
Prion
Design/Logic Flaw
25 Oct 201400:55
prion
Positive Technologies
PT-2014-7103 · WordPress · Wp-Ban
25 Oct 201400:00
ptsecurity
WPVulnDB
WP-Ban < 1.64 BlackList Bypass
17 Sep 201419:59
wpvulndb
Details
================
Software: WP-Ban
Version: 1.62
Homepage: http://wordpress.org/plugins/wp-ban/
Advisory report: https://security.dxw.com/advisories/vulnerability-in-wp-ban-allows-visitors-to-bypass-the-ip-blacklist-in-some-configurations/
CVE: CVE-2014-6230
CVSS: 5 (Medium; AV:N/AC:L/Au:N/C:P/I:N/A:N)

Description
================
Vulnerability in WP-Ban allows visitors to bypass the IP blacklist in some configurations

Vulnerability
================
This plugin allows blacklisting users based on their IP address, however it takes the IP address from the X-Forwarded-For header if available.
Not all Web server configurations will strip or replace X-Forwarded-For headers – in which case the IP ban can be bypassed by sending this header. This plugin therefore only works in certain configurations, but does not warn admins of this fact.

Proof of concept
================

Visit http://localhost/wp-admin/admin.php?page=wp-ban/ban-options.php
Set “Banned IPs” to “127.0.0.1″
Execute “curl http://localhost/\" and see the “You Are Banned” message
Execute “curl http://localhost/ -H \'X-Forwarded-For: 999.999.999.999\'\" and see that it displays the page

Note that this will not work if your Web server sets or strips X-Forwarded-For headers.
(To remove the IP blacklist run this SQL: “delete from wp_options where option_name=\'banned_ips\';\")

Mitigations
================
Upgrade to version 1.6.4 or later.
If a reverse-proxy is used, check the “I am using a reverse proxy” box in the plugin settings, and ensure that X-Forwarded-For headers are being set even if the request already contains an X-Forwarded-For header.

Disclosure policy
================
dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/

Please contact us on [email protected] to acknowledge this report if you received it via a third party (for example, [email protected]) as they generally cannot communicate with us on your behalf.

This vulnerability will be published if we do not receive a response to this report with 14 days.

Timeline
================

2014-08-27: Discovered
2014-09-04: Reported to vendor by email
2014-09-04: Requested CVE
2014-09-04: Vendor responded
2014-09-17: Vendor reported a fixed version released
2014-09-17: Published



Discovered by dxw:
================
Tom Adams
Please visit security.dxw.com for more information.

#  0day.today [2018-04-02]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation