Name: SNMP and LDAP string handling
Docid: enpa-sa-00001
Date: March 23, 2002
Versions affected: 0.9.1 and prior, 0.9.2 when compiled with SNMP
Severity: High
Description:
The PROTOS test suite developed by the Oulu University Secure Programming Group revealed the following problems:
The COPS and Kerberos dissectors also utilize the ASN.1 parser. It is possible that they are subject to this vulnerability, but the matter has not been investigated.
ethereal -vor
tethereal -v(the "v" is lowercase").
Impact:
It may be possible to run arbitrary code in Ethereal by injecting a purposefully malformed packet onto the wire, or by convincing someone to read a malformed packet trace file.
Additionally, affected versions of Ethereal will crash while dissecting various malformed SNMP and LDAP packets, including those generated by the PROTOS suite.
Resolution:
Upgrade to 0.9.2 or later. If you are compiling Ethereal by hand, do not configure with "--enable-snmp" unless you have UCD SNMP 4.2.4 or a later 4.x release, or NET-SNMP 5.0.1 or a later 5.x release. (Note that if Ethereal is dynamically linked with the SNMP library, it is vulnerable if the machine on which it is running has an earlier version, so even if you have 4.2.4 or later, or 5.0.1 or later installed on your machine, you may still not want to configure with "--enable-snmp".)