CVE-2008-5851

MyPBS - SQL Injection via seasonID Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-5851. PoCs published by Piker.

AI-analyzed exploit summary This Perl script exploits a SQL injection vulnerability in MyPBS to read arbitrary files from the target system. It constructs a malicious SQL query via the 'seasonID' parameter to dump file contents using the 'load_file' function.

Description

SQL injection vulnerability in index.php in My PHP Baseball Stats (MyPBS) allows remote attackers to execute arbitrary SQL commands via the seasonID parameter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Piker · perlwebappsphp
https://www.exploit-db.com/exploits/7522

This Perl script exploits a SQL injection vulnerability in MyPBS to read arbitrary files from the target system. It constructs a malicious SQL query via the 'seasonID' parameter to dump file contents using the 'load_file' function.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: MyPBS (version unspecified)
No auth needed
Prerequisites: Target must have MyPBS installed with vulnerable 'index.php' · Target file must be readable by the database user
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/7522
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/32930
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/47498
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/4869

Scores

EPSS 0.0199
EPSS Percentile 78.1%

Details

CWE
CWE-89
Status published
Products (1)
mypbs/mypbs _nil_
Published Jan 06, 2009
Tracked Since Feb 18, 2026