Lucene search
K

WordPress 4.8.2 Activation Key Failed Expiry Vulnerability

🗓️ 08 Oct 2017 00:00:00Reported by Glyn WintleType 
zdt
 zdt
🔗 0day.today👁 54 Views

WordPress 4.8.2 Activation Key Failed Expiry Vulnerability, allows SQL injection to create user accounts without confirmatio

Related
Code
ReporterTitlePublishedViews
Family
CNVD
WordPress Encryption Vulnerability
9 Oct 201700:00
cnvd
CVE
CVE-2017-14990
2 Oct 201717:00
cve
Cvelist
CVE-2017-14990
2 Oct 201717:00
cvelist
Debian
[SECURITY] [DLA 1151-1] wordpress security update
31 Oct 201715:22
debian
Debian
[SECURITY] [DLA 1151-2] wordpress regression update
12 Nov 201722:15
debian
Debian
[SECURITY] [DSA 3997-1] wordpress security update
11 Oct 201711:51
debian
Debian CVE
CVE-2017-14990
2 Oct 201717:00
debiancve
Tenable Nessus
Debian DLA-1151-2 : wordpress regression update
1 Nov 201700:00
nessus
Tenable Nessus
Debian DSA-3997-1 : wordpress - security update
12 Oct 201700:00
nessus
Tenable Nessus
Linux Distros Unpatched Vulnerability : CVE-2017-14990
18 Aug 202500:00
nessus
Rows per page
Details
================
Software: WordPress
Version: 4.8.2
Homepage: https://wordpress.org/
Advisory report: https://security.dxw.com/advisories/wordpress-signups-activation/
CVE: CVE-2017-14990
CVSS: 0 (Low; AV:L/AC:H/Au:M/C:N/I:N/A:N)

Description
================
WordPress does not hash or expire wp_signups.activation_key allowing an attacker with SQL injection to create accounts

Vulnerability
================
When creating new users with a confirmation email, the key for that confirmation email is stored in plain text, and never expires. This means that when there are users who have been created who havenat followed the link in their confirmation emails (common in installations with lots of users), an attacker with access to a read-only SQLi vulnerability can immediately create a user account for themselves.



wp_users.user_activation_key is hashed and contains a timestamp. wp_signups.activation_key should include these security features too.



This issue was originally raised as a ticket in Trac.

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

Visit /wp-admin/user-new.php (on a multisite installation a I havenat tested on single site)
Fill out the aAdd New Usera form but do not check the aSkip Confirmation Emaila checkbox
The user will be sent an email containing a link to /wp-activate.php?key=7259c714857ef009

This key is stored in the database unencrypted and without a timestamp:
mysql> select activation_key from wp_signups where signup_id=4;
+------------------+
| activation_key   |
+------------------+
| 7259c714857ef009 |
+------------------+
1 row in set (0.00 sec)

Mitigations
================
Regularly purge old entries from the wp_signups table.

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
================

2016-10-24: Opened Trac ticket
2017-10-02: Requested CVE
2017-10-02: Received CVE



Discovered by dxw:
================
Glyn Wintle

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

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