MantisBT, Denial-of-Service (DoS) via Excessive Note Length, CVE-2025-XXXX (Moderate)

Listen to this Post

The CVE-2025-XXXX vulnerability in MantisBT stems from a lack of server-side input validation on the length of notes added to issues. The application’s `bugnote_add.php` script and associated backend processing logic do not enforce a maximum character limit before accepting and storing user-supplied input in the database. An attacker can exploit this by crafting a POST request containing a note with an extremely long string, tested at over 4.7 million characters. When this malicious note is submitted, the application stores the entire string in the database. This action permanently corrupts the issue’s activity log. Subsequent attempts by users or system processes to view the issue history, which involves querying and rendering this corrupted data, will fail. This failure can manifest as severe database performance degradation, application timeouts, or a complete failure to load the issue view, resulting in a persistent Denial-of-Service condition for the affected issue and impairing project workflow.
Platform: MantisBT
Version: < 2.27.2
Vulnerability: DoS
Severity: Moderate
date: 2025-11-01

Prediction: 2025-11-10

What Undercode Say:

`curl -X POST http://mantisbt.local/bugnote_add.php -d ‘bug_id=1&note='”$(python3 -c “print(‘A’ 4788761)”)`

`SELECT FROM mantis_bugnote_table WHERE note_length > 1000000;`

`grep -o ‘”note”:”[^”]”‘ api_response.json | awk -F'”‘ ‘{print $4}’ | wc -c`

How Exploit:

Craft a long note (>4.7M characters) via a POST request to bugnote_add.php. This overloads the database, corrupting the issue log and making it unviewable, causing a persistent DoS for that issue.

Protection from this CVE

Update to MantisBT version 2.27.2. Implement server-side input validation for note length. Use a Web Application Firewall (WAF) with payload size limits. Apply database field length constraints.

Impact:

Permanent corruption of specific issue activity logs. Denial-of-Service for accessing affected issues. Degraded application and database performance.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: github.com
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top