Where
-Infinity
0
Severity
6.8
Input Validation
AV:N/AC:M/Au:N/C:P/I:P/A:P

Description of problem: The generic handler of xdg-open (i.e. when not running in KDE, GNOME or XFCE) has the following code:

browserwitharg=echo "$browser" | sed s#%s#"$1"#

if [ x"$browserwitharg" = x"$browser" ]; then "$browser" "$1"; else $browserwitharg; fi

sed interprets any commands in the argument and the result is executed by the script.

Version-Release number of selected component (if applicable): xdg-utils-1.0.2-2.fc8

How reproducible: Always

Steps to Reproduce: 1. uninstall perl-File-MimeInfo package (not necessary with xdg-utils-1.0.2-3) 2. start plain X session 3. xdg-open 'http://foo.org/bar#;g;sx$xtouch:foox' Actual results: File foo created.

Expected results: The page opened in a web browser.

Additional info:

1 / 2
Source: Red Hat
First published (updated )

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