CVE-2009-0315: Medium severity Xchat xchat vulnerability

Published Aug 6, 2008
·
Updated

Untrusted search path vulnerability in the Python module in xchat allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySysSetArgv function (CVE-2008-5983).

Other sources

Untrusted search path vulnerability in the Python module of xchat allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to an erroneous setting of sys.path by the PySysSetArgv function.

References (test case, PoC): http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html

Proposed patch: The Debian patch for similar dia's Python related issue, available at:

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=pythonpath.diff;att=1;bug=504251

should be sufficient to resolve this issue.

Red Hat

Affected Software

1 affected component
Xchat xchat

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch pythonpath.diff
  2. Configuration

    Initialize or modify sys.path so it does not contain the empty-string entry (which represents the current working directory); remove '' or other CWD entries from sys.path to prevent importing untrusted Python files from the current working directory.

    HexChat Python module sys.path = do not include current working directory (remove empty-string entry)

Event History

Aug 6, 2008
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverity
Jan 26, 2009
Data Sourced
via Red Hat·11:40 AM
Affected Software
Jan 28, 2009
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Data Sourced
via NVD·11:30 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-0315?

CVE-2009-0315 is considered a high severity vulnerability as it allows local users to execute arbitrary code.

2

How do I fix CVE-2009-0315?

To mitigate CVE-2009-0315, ensure that the XChat module is updated to a version that addresses this vulnerability.

3

What are the potential consequences of CVE-2009-0315?

The potential consequences of CVE-2009-0315 include unauthorized execution of code and compromise of system integrity by local users.

4

Who is affected by CVE-2009-0315?

CVE-2009-0315 affects local users of the XChat application that utilizes the Python module.

5

What type of vulnerability is CVE-2009-0315?

CVE-2009-0315 is classified as an untrusted search path vulnerability.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203