{"id":"CVE-2009-4492","sourceIdentifier":"cve@mitre.org","published":"2010-01-13T20:30:00.530","lastModified":"2026-06-16T23:13:46.207","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator."},{"lang":"es","value":"WEBrick v1.3.1 en Ruby v1.8.6 del patchlevel 383, v1.8.7 al patchlevel 248, v1.8.8dev, 1.9.1 al patchlevel 376, y v1.9.2dev ,escribe datos en un archivo de los sin depurar los caracteres no escribibles, lo que podría permitir a atacantes remotos modificar la ventana de título, o posiblemente ejecutar comandos de su elección o sobrescribir archivos, a través de una petición HTTP que contiene una secuencia de escape para el emulador de terminal."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:webrick:1.3.1:*:*:*:*:ruby:*:*","matchCriteriaId":"A3987438-FB66-4B8A-A2E2-124139BC9216"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","versionStartIncluding":"1.8.6","versionEndIncluding":"1.8.6.383","matchCriteriaId":"9D02C3E0-04FE-4200-944F-2EF327B8CC37"},{"vulnerable":false,"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","versionStartIncluding":"1.8.7","versionEndIncluding":"1.8.7.248","matchCriteriaId":"0F4C4DE1-EDEF-49F4-81FE-6B9D25453300"},{"vulnerable":false,"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","versionStartIncluding":"1.9.1","versionEndIncluding":"1.9.1.376","matchCriteriaId":"20792FA1-E46A-4BC1-81FD-E3C4660F2CC6"}]}]}],"references":[{"url":"http://secunia.com/advisories/37949","source":"cve@mitre.org","tags":["Not Applicable","Vendor Advisory"]},{"url":"http://securitytracker.com/id?1023429","source":"cve@mitre.org","tags":["Broken Link","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/508830/100/0/threaded","source":"cve@mitre.org","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/37710","source":"cve@mitre.org","tags":["Broken Link","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.ush.it/team/ush/hack_httpd_escape/adv.txt","source":"cve@mitre.org","tags":["Broken Link","Exploit"]},{"url":"http://www.vupen.com/english/advisories/2010/0089","source":"cve@mitre.org","tags":["Permissions Required"]},{"url":"http://secunia.com/advisories/37949","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Not Applicable","Vendor Advisory"]},{"url":"http://securitytracker.com/id?1023429","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/508830/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/37710","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.ush.it/team/ush/hack_httpd_escape/adv.txt","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Exploit"]},{"url":"http://www.vupen.com/english/advisories/2010/0089","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Permissions Required"]}],"vendorComments":[{"organization":"Red Hat","comment":"Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2009-4492\n\nThe Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.\n","lastModified":"2010-01-21T00:00:00"}]}