7.5
CWE
20
Advisory Published
Advisory Published
Updated

CVE-2009-4492: Input Validation

First published: Wed Jan 13 2010(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
rubygems/webrick<=1.3.1
1.4.0
WEBrick=1.3.1
Ruby>=1.8.6<=1.8.6.383
Ruby>=1.8.7<=1.8.7.248
Ruby>=1.9.1<=1.9.1.376

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2009-4492?

    CVE-2009-4492 is considered to have a moderate severity level due to the potential for remote exploitation.

  • How do I fix CVE-2009-4492?

    To fix CVE-2009-4492, upgrade WEBrick to version 1.4.0 or later.

  • Which versions of WEBrick are affected by CVE-2009-4492?

    WEBrick versions up to and including 1.3.1 are affected by CVE-2009-4492.

  • What types of attacks can CVE-2009-4492 enable?

    CVE-2009-4492 might allow remote attackers to modify a window's title or potentially execute arbitrary commands.

  • Is any version of Ruby affected by CVE-2009-4492?

    Yes, Ruby versions 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.9.1 through patchlevel 376 are affected by CVE-2009-4492.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203