CVE-2008-2874

Softbiz Jokes & Funny Pics Script - SQL Injection via sbjoke_id Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-2874. PoCs published by Hussin X.

AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in the Jokes & Funny Pics Script, allowing an attacker to extract admin credentials via a UNION-based SQLi attack. The PoC provides specific URLs to retrieve concatenated admin passwords and usernames from the database.

Description

SQL injection vulnerability in index.php in Softbiz Jokes & Funny Pics Script allows remote attackers to execute arbitrary SQL commands via the sbjoke_id parameter, a different vector than CVE-2008-1050.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Hussin X · textwebappsphp
https://www.exploit-db.com/exploits/5934

This exploit demonstrates a SQL injection vulnerability in the Jokes & Funny Pics Script, allowing an attacker to extract admin credentials via a UNION-based SQLi attack. The PoC provides specific URLs to retrieve concatenated admin passwords and usernames from the database.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Jokes & Funny Pics Script (version not specified)
No auth needed
Prerequisites: Target application must be vulnerable to SQL injection · Database must have a table named 'sbjks_admin' with columns 'sbadmin_pwd' and 'sbadmin_name'
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/29931
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/43359
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30810
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5934
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/1951/references

Scores

EPSS 0.0104
EPSS Percentile 59.5%

Details

CWE
CWE-89
Status published
Products (1)
softbizscripts/softbiz_jokes_and_funny_pics_script
Published Jun 26, 2008
Tracked Since Feb 18, 2026