PoC Monitor
← All CVEs
CVE-2025-5287published 28 May 2025 08:22 UTCData: JSON · API

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.

First public PoC 4 hafter publication · 28 May 2025
Public PoCs43 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS7.5high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

erumfaham Likes and Dislikes Plugin
  • <= 1.0.0

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 May 2025 · t = 0First public PoC28 May 2025 · t+4h

First 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
RepositoryCreatedStarsAssessment
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
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

RootHarpy/CVE-2025-5287 16 Jun 2025 +20 d 1 PoC
Informational 1
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection21 Jun 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 3 PoC repos

POST /wp-admin/admin-ajax.php

Body markers
action=my_likes_dislikes_action post=1 AND (SELECT 1234 FROM (SELECT(SLEEP(5)))a) state=like post=1 AND (SELECT IF(1=1, SLEEP( state=dislike post=1 AND (SELECT 1234 FROM (SELECT( in application/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.

POST /wp-admin/admin-ajax.php
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /wp-admin/admin-ajax.php
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.

POST /wp-admin/admin-ajax.php
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