Advisory Published
Updated

REDHAT-BUG-288271

First published: Wed Sep 12 2007(Updated: )

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.P_NOWAIT, "/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.

Affected SoftwareAffected VersionHow to fix
Red Hat Setroubleshoot-plugins
Red Hat sealert
Mozilla Firefox

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 REDHAT-BUG-288271?

    REDHAT-BUG-288271 is considered a moderate severity vulnerability due to the potential for HTML injection.

  • How do I fix REDHAT-BUG-288271?

    To fix REDHAT-BUG-288271, update to the latest version of the affected Red Hat software that addresses this vulnerability.

  • What components are affected by REDHAT-BUG-288271?

    The affected components include Red Hat Setroubleshoot and Red Hat sealert applications.

  • What type of vulnerability is REDHAT-BUG-288271?

    REDHAT-BUG-288271 is a cross-site scripting (XSS) vulnerability that can allow attackers to inject malicious HTML.

  • Is there a workaround for REDHAT-BUG-288271?

    Currently, there are no official workarounds for REDHAT-BUG-288271, and applying the software update is recommended.

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