CVE-2008-5770

phpweather 2.2.2 - Cross-Site Scripting via PATH_INFO

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-5770. PoCs published by ahmadbady.

AI-analyzed exploit summary This exploit demonstrates a Local File Inclusion (LFI) and Cross-Site Scripting (XSS) vulnerability in phpweather-2.2.2. The LFI is achieved by manipulating the 'language' parameter with a null byte, while the XSS is triggered via the 'make_config.php' script.

Description

Cross-site scripting (XSS) vulnerability in config/make_config.php in PHP Weather 2.2.2 allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO.

Exploits (1)

exploitdb WORKING POC VERIFIED
by ahmadbady · textwebappsphp
https://www.exploit-db.com/exploits/7451

This exploit demonstrates a Local File Inclusion (LFI) and Cross-Site Scripting (XSS) vulnerability in phpweather-2.2.2. The LFI is achieved by manipulating the 'language' parameter with a null byte, while the XSS is triggered via the 'make_config.php' script.

Classification
Working Poc 90%
Attack Type
Lfi | Xss
Complexity
Trivial
Reliability
Reliable
Target: phpweather-2.2.2
No auth needed
Prerequisites: Access to the vulnerable web application
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/4826
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/47308
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/32820
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/33098
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/7451

Scores

EPSS 0.0297
EPSS Percentile 85.4%

Details

CWE
CWE-79
Status published
Products (1)
phpweather/phpweather 2.2.2
Published Dec 30, 2008
Tracked Since Feb 18, 2026