Quantum Secular Labs / Blog / Advisories
CVE-2011-1018: Logwatch: Command injection
CVE-2011-1018 has a CVSS v2 base score of 10.0 (the maximum on that scale) and affects Logwatch. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
logwatch.pl in Logwatch 7.3.6 allows remote attackers to execute arbitrary commands via shell metacharacters in a log file name, as demonstrated via a crafted username to a Samba server.
Severity breakdown
CVSS v2.0 10.0: AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access vector: Network. Exploitable remotely over the network.
- Access complexity: Low. No special conditions are required.
- Authentication: None. No authentication is needed.
- Confidentiality impact: Complete. Total information disclosure.
- Integrity impact: Complete. Total loss of integrity.
- Availability impact: Complete. Total shutdown of the component.
Underlying weakness
CWE-20: Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected products
- Logwatch: 7.3.6
References
- http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/logwatch.pl?r1=3&r2=26&pathrev=26
- http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824
- http://www.openwall.com/lists/oss-security/2011/02/24/13
- http://www.openwall.com/lists/oss-security/2011/02/24/15
- https://bugzilla.redhat.com/show_bug.cgi?id=680237
- http://secunia.com/advisories/43495
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055579.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055585.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055617.html
- http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html
- http://secunia.com/advisories/43356
- http://secunia.com/advisories/43622
- http://secunia.com/advisories/43644
- http://secunia.com/advisories/43734