medium CVSS 6.5

CVE-2025-32389·PHP vulnerability

NamelessMC is a free, easy to use & powerful website software for Minecraft servers. Prior to version 2.1.4, NamelessMC is vulnerable to SQL injection by providing an unexpected square bracket GET parameter syntax. Square bracket GET parameter syntax refers to the structure `?param[0]=a&param[1]=b&param[2]=c` utilized by PHP, which is parsed by PHP as `$_GET['param']` being of type array. This issue has been patched in version 2.1.4.

Severity
medium
Software
PHP
Fixed in
2.1.4
Published
2025-04-18

Affected versions

Until: 2.1.4

Fixed in: 2.1.4

How to fix this CVE

NamelessMC installations must be upgraded to version 2.1.4 or later to address a SQL injection vulnerability in GET parameter handling. The vulnerability exploits PHP's array syntax in query strings (e.g., ?param[0]=value) to bypass input validation and execute arbitrary SQL commands. Update your NamelessMC installation immediately and verify the patch has been applied by checking the version in your admin panel.

sudo dnf update php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

GET.*\?[a-zA-Z_][a-zA-Z0-9_]*\[[0-9]+\]=.*((UNION|SELECT|DROP|INSERT|UPDATE|DELETE)|--|;|\*|--|%27|%22|0x)

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement WAF rules to block GET requests containing unescaped square brackets in parameter names followed by numeric indices (e.g., param[0], param[1]). Additionally, enforce SQL prepared statements and parameterized queries at the application level to prevent array-based parameter injection.

How to check if you are affected

  1. Step 1: Check your NamelessMC version by navigating to the admin dashboard or examining /config/config.php for the VERSION constant
  2. Step 2: Verify if your installation accepts GET parameters with square bracket syntax by testing a request like ?search[0]=test and observing if it's processed without errors
  3. Step 3: Search your web server access logs for patterns like GET requests containing URL-encoded brackets (%5B, %5D) followed by database error responses (500, SQL errors in User-Agent or response body)
  4. Step 4: After upgrading to v2.1.4, confirm the fix by attempting the same bracket syntax test—requests should either fail gracefully or be rejected outright

FAQ

What is CVE-2025-32389?

CVE-2025-32389 is a SQL injection vulnerability in NamelessMC that allows authenticated attackers to execute arbitrary SQL queries by manipulating GET parameters using PHP's array syntax (square brackets). This permits unauthorized data access or modification on affected servers.

Is CVE-2025-32389 being actively exploited?

No, CVE-2025-32389 is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, the vulnerability's straightforward exploitation method means proactive patching is critical.

What versions of NamelessMC are affected by CVE-2025-32389?

All versions of NamelessMC prior to and including version 2.1.3 are vulnerable. Version 2.1.4 and later contain the security patch.

How do I check if my server is vulnerable to CVE-2025-32389?

Run `grep VERSION /path/to/namelessmc/config/config.php` to determine your current version. If it returns a version earlier than 2.1.4, your installation is vulnerable.

Does Defensia detect CVE-2025-32389?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If NamelessMC is installed on a monitored server, CVE-2025-32389 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2026-28289CVSS 10FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-32389. Free for 1 server.

Get started free