Erumfaham Likes and Dislikes Plugin
Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection
The Likes and Dislikes Plugin plugin for WordPress is vulnerable to SQL Injection via the 'post' parameter in all versions up to, and including, 1.0.0 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.0.0
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 4 h after publication; not in CISA KEV. First PoC: Nxploited/CVE-2025-5287 (created 28 May 2025, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs · 1 informational
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nxploited/CVE-2025-5287 | 28 May 2025 +4 h | 1 | PoC via PoC Index |
| wiseep/CVE-2025-5287 | 31 May 2025 +3.1 d | 9 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| RootHarpy/CVE-2025-5287 | 16 Jun 2025 +20 d | 1 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| RandomRobbieBF/CVE-2025-5287 | 12 Jun 2025 +15 d | 1 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection | 21 Jun 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /wp-admin/admin-ajax.php
- Body markers
action=my_likes_dislikes_actionpost=1 AND (SELECT 1234 FROM (SELECT(SLEEP(5)))a)state=likepost=1 AND (SELECT IF(1=1, SLEEP(state=dislikepost=1 AND (SELECT 1234 FROM (SELECT(inapplication/x-www-form-urlencoded- Seen in
- 3 repos: Nxploited/CVE-2025-5287, RootHarpy/CVE-2025-5287, wiseep/CVE-2025-5287
- Evidence
- Nxploited/CVE-2025-5287/README.md:42 RootHarpy/CVE-2025-5287/CVE-2025-5287.py:31 wiseep/CVE-2025-5287/CVE-2025-5287.py:28
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-5287 erumfaham Likes and Dislikes Plugin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"action=my_likes_dislikes_action"; http.request_body; content:"post=1 AND (SELECT 1234 FROM (SELECT(SLEEP(5)))a)"; http.request_body; content:"state=like"; http.request_body; content:"post=1 AND (SELECT IF(1=1, SLEEP("; http.request_body; content:"state=dislike"; http.request_body; content:"post=1 AND (SELECT 1234 FROM (SELECT("; reference:url,poc.griffinguard.io/cve/CVE-2025-5287; classtype:web-application-attack; sid:9515679; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: erumfaham Likes and Dislikes Plugin exploit attempt (CVE-2025-5287)
id: gg-pocmon-cve-2025-5287-9515679
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-5287. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-5287
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.5287