Skip to main content

Ultimate PHP Board CVE-2025-61540

MEDIUM
SQL Injection (CWE-89)
2025-10-16 cve@mitre.org
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach public lostpassword.php endpoint
  2. Exploit
    Submit malicious SQL in username field
  3. Execution
    Injected query executes in backend database
  4. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

SQL injection vulnerability in Ultimate PHP Board 2.2.7 via the username field in lostpassword.php.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Rare
obscure, long-dormant hobby PHP forum with negligible production footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:myupb:ultimate_php_board:2.2.7:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy