Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT Security Bulletin ASB-2009.1027 ZNC: Directory Traversal Vulnerability 23 July 2009 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: ZNC Operating System: UNIX variants (UNIX, Linux, OSX) Impact/Access: Unauthorised Access -- Existing Account Create Arbitrary Files -- Existing Account Resolution: Upgrade Member content until: Saturday, August 22 2009 OVERVIEW A vulnerability has been reported in ZNC that can allow an attacker to conduct directory traversal attacks with write capabilities. IMPACT The vendor has provided the following information regarding this vulnerability: "Fix a high-impact directory traversal bug You can upload files to znc via /dcc send *status. The files will be saved in <datadir>/users/<user>/downloads/. The code for this didn't do any checking on the file name at all and thus allowed directory traversal attacks by all znc users (no admin privileges required!). By exploiting this bug, attackers could e.g. upload a new ssh authorized_keys file or upload a znc module which lets everyone gain shell access. Anything is possible." [1] MITIGATION ZNC have released version 0.072 which they confirm corrects this vulnerability. [2] The new release is available for download from the vendor's website. [3] REFERENCES [1] SourceForge.net Repository - [znc] Revision 1570 http://znc.svn.sourceforge.net/viewvc/znc?view=rev&sortby=rev&sortdir=down&revision=1570 [2] ChangeLog/0.072 - ZNC http://en.znc.in/wiki/ChangeLog/0.072 [3] ZNC - Advanced IRC Bouncer http://sourceforge.net/projects/znc/files/ AusCERT has made every effort to ensure that the information contained in this document is accurate. However, the decision to use the information described is the responsibility of each user or organisation. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. If you believe that your computer system has been compromised or attacked in any way, we encourage you to let us know by completing the secure National IT Incident Reporting Form at: http://www.auscert.org.au/render.html?it=3192 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iD8DBQFKZ/I0NVH5XJJInbgRAkN4AJ9pjpDo1gXTJSA42+CgFV/QqCQswgCfSTw6 1UktPXRT9YkBJKA8+V3SDFo= =gcJK -----END PGP SIGNATURE-----