Majordomo2 help Command Directory Traversal (Patch Bypass)

Credit: NSO Research
Risk: Medium
Local: No
Remote: Yes

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

______________________________________________________________________ -------------------------- NSOADV-2011-003 --------------------------- Majordomo2 'help' Command Directory Traversal (Patch Bypass) ______________________________________________________________________ ______________________________________________________________________ Title: Majordomo2 'help' Command Directory Traversal Severity: Medium Advisory ID: NSOADV-2011-003 CVE: CVE-2011-0063 Found Date: 03.02.2011 Date Reported: 03.02.2011 Release Date: 19.02.2011 Author: Nikolas Sotiriu Mail: nso-research at Website: Twitter: Advisory-URL: Vendor/Project: Affected Products: majordomo2 <= 20110203 Remote Exploitable: Yes Local Exploitable: No Patch Status: Vendor released a patch (See Solution) Discovered by: Nikolas Sotiriu Disclosure Policy: Thanks to: Thierry Zoller: For the permission to use his Policy Background: =========== Majordomo 2 is an upwardly-compatible rewrite of the popular majordomo mailing list manager software by Jason Tibbitts and Michael Yount. Description: ============ Majordomo2 <= 20110203 is affected by a Directory Traversal vulnerability due to parameter 'extra' of the 'help' command in the function '_list_file_get()' is not properly sanitized. The original bug was made public on 03.02.2011 by Michael Brooks of I discovered, that the patch, which is in the CVS since version 20110125 don't protect against the Directory Traversal bug. The diff build in the regex '$file =~ s!/?\.\./?!!g;', which deletes '../' from $file. Bypassing this regex is quiet simple by using './.../' insted '../'. Proof of Concept : ================== HTTP: http://<target>/cgi-bin/mj_wwwusr?passw=&list=GLOBAL&user=&func=help& extra=./..././..././..././..././..././..././..././.../etc/passwd SMTP: help ./..././..././..././..././..././..././..././.../etc/passwd Solution: ========= Update to Majordomo2 >= 20110204 References: =========== Sitewatch Advisory: Original Bug: Patch Bypass: Disclosure Timeline (YYYY/MM/DD): ================================= 2011.02.03: Patch bypass vulnerability found 2011.02.03: Informed security [at] 2011.02.03: Mozilla opend Bug 631307 in bugzilla 2011.02.03: Jason Tibbitts comitted a fix (Sorry again) 2011.02.04: Snapshot available for download 2011.02.04: Discuss the public disclosure 2011.03.04: Got the Bug Bounty Money 2011.03.08: Release of Advisory


Vote for this issue:


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 2022,


Back to Top