Ultimate PHP Board
CVE-2025-61540
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public lostpassword.php endpoint
-
ExploitSubmit malicious SQL in username field
-
ExecutionInjected query executes in backend database
-
ImpactRead or alter stored account data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target run Ultimate PHP Board 2.2.7 with the lost-password feature (lostpassword.php) reachable by the attacker; the injection is triggered through the username field of that form. Per the CVSS vector (PR:N/UI:N), no authentication or user interaction is needed, so any attacker who can reach the password-recovery page can attempt it against a default install. The main real-world limiter is not a configuration prerequisite but exposure: the affected software is an obscure, rarely-deployed PHP forum, so few internet-facing instances are expected to exist. The underlying trigger beyond 'username field in lostpassword.php' is not further detailed in the available sources. |
| Impact | This is a genuine but low-to-moderate-priority web vulnerability, not a high-urgency emergency. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a remotely reachable, low-complexity flaw requiring no privileges or user interaction, and PR:N confirms it is reachable by unauthenticated attackers against the lostpassword.php endpoint. However, impact is bounded: C:L/I:L/A:N limits it to partial read/write of database contents rather than full compromise, yielding the 6.5 base score. The exploitation signals point away from urgency: EPSS is only 0.29% (22nd percentile), there is no CISA KEV listing, and the vuln.today decision label is 'this_month' rather than act_now or emergency. A public PoC reference exists (the bugdotexe Vulnerability-Research repository), but it is not verified as working exploit code, so POC availability should not be conflated with active exploitation - no active exploitation is indicated by the input. The dominant real-world risk-reducer is the target itself: Ultimate PHP Board 2.2.7 is an obscure, long-dormant PHP forum package with a tiny deployment footprint, so even an easy unauthenticated SQLi is unlikely to be mass-exploited. Net assessment: a legitimate finding worth patching on a routine cycle, but a high-CVSS-feel issue tempered to low real-world risk by low EPSS, no KEV, and minimal prevalence. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker submits a crafted value in the username field of the lost-password form (lostpassword.php) to inject SQL into the backend query. Given AV:N/AC:L/PR:N, this requires only reaching the public endpoint; a public PoC reference exists but is not verified as working exploit code. Successful injection allows partial disclosure or modification of database contents (C:L/I:L) such as reading or tampering with user account data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
SQL injection in Ultimate PHP Board 2.2.7 lets remote attackers inject arbitrary SQL through the username field of the lost-password form (lostpassword.php). Per the assessed CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication or user interaction is required - anyone who can reach the password-recovery page of a default install can attempt the attack, with limited confidentiality and integrity impact. Exploitation has not been confirmed in the wild (not in CISA KEV) and EPSS is low at 0.29% (22nd percentile); a public proof-of-concept reference for this CVE exists in a third-party vulnerability-research repository, though it is not verified as working exploit code, and the practical limiter is exposure rather than configuration, since this is an obscure, rarely deployed PHP forum.
RemediationAI
No vendor-released patch or fixed version is identified in the available data, so the primary action is to stop exposing the vulnerable endpoint: disable or remove the lost-password functionality (lostpassword.php) in Ultimate PHP Board 2.2.7, or restrict access to that page by IP allow-list or web-server authentication, accepting that users then lose self-service password recovery. As an interim compensating control, deploy virtual patching at a WAF or reverse proxy that blocks SQL metacharacters and tautology patterns on requests to lostpassword.php, understanding that generic signature coverage can be bypassed with encoding tricks and may cause false positives on legitimate recovery attempts. For long-term remediation, apply parameterized queries/sanitization to the username handling, or migrate to a maintained fork or successor of the board referenced in the upstream project page (https://github.com/PHP-Outburst/myUPB?tab=readme-ov-file), since the 2.2.7 release line has no confirmed fixed build. Review the researcher's write-up at https://github.com/bugdotexe/Vulnerability-Research/tree/main/CVE-2025-61540 for technical details and monitor that location for any patch or advisory updates.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ultimate PHP Board (myUPB) is a legacy PHP-based bulletin-board/forum application; version 2.2.7 is the specific release in scope per the CPE cpe:2.3:a:myupb:ultimate_php_board:2.2.7. The flaw is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning attacker-supplied input reaches a database query without adequate escaping or parameterization. The affected entry point is the username field submitted to lostpassword.php, the account-recovery component of the forum; the underlying query construction (string concatenation versus other forms) and the database backend are not described in the available sources, so the precise trigger beyond the username field is not detailed. Because the injection point sits in an unauthenticated password-recovery form, it is reachable before any login, which is consistent with the PR:N/UI:N components of the assessed vector; impact is bounded to partial confidentiality and integrity (C:L/I:L) with no availability effect.
Know when Ultimate Php Board gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Unauthenticated SQLi on a public lost-password endpoint gives AV:N/AC:L/PR:N/UI:N; database read/write yields C:L/I:L with no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
SQL injection vulnerability in Ultimate PHP Board 2.2.7 via the username field in lostpassword.php.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
More in Ultimate Php Board
View allMultiple cross-site scripting (XSS) vulnerabilities in Ultimate PHP Board (aka myUPB) before 2.2.8 allow remote attacker
Reflected cross-site scripting in Ultimate PHP Board 2.2.7 allows remote unauthenticated attackers to execute arbitrary
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB