vendor:
SourceBans
by:
Havok
7.5
CVSS
HIGH
SQL Injection & LFI Injection
89, 22
CWE
Product Name: SourceBans
Affected Version From: <= 1.4.8
Affected Version To: <= 1.4.8
Patch Exists: Yes
Related CWE: N/A
CPE: SourceBans
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2011
SourceBans <= 1.4.8 SQL/LFI Injection
SourceBans is a free global administration and banning system for Source engine based servers. SQL Injection can be exploited by appending ' to the URL which will result in an SQL error. LFI Injection can be exploited by authenticating as root administrator or as somebody who is able to change the SourceBans theme and appending '../../../../../../../../../../etc/passwd%00' to the URL. There is also a possibility to get a shell by adding 'GIF89a' at the very beginning of the shell, renaming it to h4x0rz.gif and uploading it as an icon in the admin panel.
Mitigation:
Update to the latest version of SourceBans, use a web application firewall, and ensure that all input is validated and sanitized.