CVE-2025-64519CWE-89

TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter

High · published November 10, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
38.2
In the wild
Unconfirmed
What it is

⚡ An authenticated SQL injection vulnerability lurks in TorrentPier's moderator control panel! With just a crafty `topic_id` parameter, a malicious moderator could unleash chaos on your database! 🔥 Think of it like an unscrupulous hotel manager with a master key — they can waltz into any room and change the locks, delete guest records, or even steal valuables. This vulnerability lets a rogue moderator have similar unchecked access to your database, putting critical information at risk. If exploited, a compromised moderator could execute arbitrary SQL queries, potentially leading to catastrophic data exposure or destruction. Imagine waking up one day to find vital user information erased or twisted beyond recognition — absolutely devastating!

Put simply

Think of it like an unscrupulous hotel manager with a master key — they can waltz into any room and change the locks, delete guest records, or even steal valuables. This vulnerability lets a rogue moderator have similar unchecked access to your database, putting critical information at risk. In versions up to 2.8.8 of TorrentPier, an SQL injection flaw in the `modcp.php` file allows authenticated users with moderator permissions to manipulate the database by injecting malicious SQL code through the `t` parameter.

What to do

If exploited, a compromised moderator could execute arbitrary SQL queries, potentially leading to catastrophic data exposure or destruction. Imagine waking up one day to find vital user information erased or twisted beyond recognition — absolutely devastating! To safeguard your database, patch immediately to the version after commit 6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80. Additionally, review moderator privileges to ensure that only trustworthy users have access to critical controls. You've got this! Implement these fixes, and your TorrentPier installation will be rock solid! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00451 · 38.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-11-10T22:17Z
EPSS history
Timeline
  • 10 NOV 22:17Z
    TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter
    cvelistv5