ID CVE-2006-6772
Summary Format string vulnerability in the inputAnswer function in file.c in w3m before 0.5.2, when run with the dump or backend option, allows remote attackers to execute arbitrary code via format string specifiers in the Common Name (CN) field of an SSL certificate associated with an https URL.
References
Vulnerable Configurations
  • cpe:2.3:a:w3m:w3m:0.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:w3m:w3m:0.5.1:*:*:*:*:*:*:*
CVSS
Base: 9.3 (as of 13-08-2018 - 21:47)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • Format String Injection
    An attacker includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An attacker can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the attacker can write to the program stack.
  • String Format Overflow in syslog()
    This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:M/Au:N/C:C/I:C/A:C
refmap via4
bid
  • 21735
  • 24332
confirm
fedora
  • FEDORA-2007-077
  • FEDORA-2007-078
fulldisc 20061225 w3m format string bug
gentoo GLSA-200701-06
misc http://sourceforge.net/tracker/index.php?func=detail&aid=1612792&group_id=39518&atid=425439
openpkg OpenPKG-SA-2006.44
sectrack 1017440
secunia
  • 23492
  • 23588
  • 23717
  • 23773
  • 23792
suse SUSE-SA:2007:005
ubuntu USN-399-1
vupen ADV-2006-5164
xf
  • w3m-certificate-format-string(31114)
  • w3m-inputanswer-format-string(34821)
statements via4
contributor Mark J Cox
lastmodified 2007-03-14
organization Red Hat
statement Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Last major update 13-08-2018 - 21:47
Published 27-12-2006 - 23:28
Back to Top