CVE-2007-5496: XSS

Published Sep 12, 2007
·
Updated

Cross-site scripting (XSS) vulnerability in setroubleshoot 2.0.5 allows local users to inject arbitrary web script or HTML via a crafted (1) file or (2) process name, which triggers an Access Vector Cache (AVC) log entry in a log file used during composition of HTML documents for sealert.

Other sources

reported via secalert:

The graphical sealert program interprets records in the setroubleshoot database as HTML when it displays them to the user. These records include arbitrary attacker-controlled values such as the names of processes and files involved in AVC denial events, and the sealert daemon fails to properly escape those values before passing them to its HTML parser. This allows an unprivileged local attacker to inject arbitrary HTML tags into the alerts displayed by the sealert browser, altering an alert's appearance or inserting arbitrary links. There is no preview bar to show a link's target URL. When a link in the alert is clicked, the program executes the following Python code, where 'arg2' is the value of the link's href attribute:

os.spawnl(os.PNOWAIT, "/usr/bin/htmlview", "htmlview", arg2)

The htmlview script executes the user's preferred web browser, which defaults to /usr/bin/firefox under RHEL 5. Since the attacker controls only one argument, it does not appear to be possible to inject arbitrary shell commands, or to cause Firefox to execute arbitrary JavaScript in chrome:/// context. However, in combination with security flaws in Firefox or any other web browser that htmlview may launch, this flaw could be used to execute arbitrary code or steal credentials.

Red Hat

Affected Software

3 affected components
redhat Enterprise Linux=5.0
redhat Enterprise Linux Desktop=5
Selinux Setroubleshoot=2.0.5

Event History

Sep 12, 2007
Data Sourced
via Red Hat·06:54 PM
DescriptionSeverityAffected Software
May 23, 2008
CVE Published
03:32 PM
Data Sourced
03:32 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-5496?

CVE-2007-5496 is considered a medium severity vulnerability due to the potential for cross-site scripting attacks.

2

How do I fix CVE-2007-5496?

To fix CVE-2007-5496, update the SELinux Setroubleshoot software to a version beyond 2.0.5 that addresses this vulnerability.

3

Who is affected by CVE-2007-5496?

CVE-2007-5496 affects users of SELinux Setroubleshoot version 2.0.5 on certain Red Hat Enterprise Linux and desktop versions.

4

What types of attacks can CVE-2007-5496 facilitate?

CVE-2007-5496 can facilitate cross-site scripting (XSS) attacks, allowing local users to inject malicious web scripts.

5

Is CVE-2007-5496 a remote vulnerability?

No, CVE-2007-5496 is not a remote vulnerability; it requires local user access to exploit.

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