Monkey HTTPD Auth plugin Broken authentication

2013.06.07
Credit: Felipe Pena
Risk: High
Local: Yes
Remote: No
CWE: CWE-287


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

I've found an issue in the way as Monkey HTTPD Auth login performs authentication: CVE-2013-2159 - Broken username checking on Auth plugin Due strncmp() misuse the username checking phase was matching different usernames when checking N initial bytes from username list. $ ./mk_passwd -c -b ../plugins/auth/users.mk felipe123 bar [+] Adding user felipe123 $ ./mk_passwd -b ../plugins/auth/users.mk felipe foo [+] Adding user felipe On this scenario, we only manage to log in with 'felipe' username using 'bar' as password, since the strncmp() was using the first 6 bytes to match the usernames. The bug has been fixed, more details at http://bugs.monkey-project.com/ticket/183 -- Regards, Felipe Pena

References:

http://bugs.monkey-project.com/ticket/183


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