CVE-2013-2105 Script Injection in Show In Browser gem
Local attackers can inject arbitrary web script or HTML via a symlink attack on a temporary file in the Show In Browser Ruby gem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2013-2105?
CVE-2013-2105 is a low-severity path traversal vulnerability in n/a, published on 22 Apr 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The Show In Browser (show_in_browser) gem 0.0.3 for Ruby allows local users to inject arbitrary web script or HTML via a symlink attack on /tmp/browser.html.
Weakness: CWE-59
Which versions are affected by CVE-2013-2105?
2 open source packages ship an affected version, including show_in_browser. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
show_in_browser RubyGems | All versions | None |
show_in_browser RubyGems | All versions | None |
Products include Jonathan Leung Show in Browser.
How do I fix CVE-2013-2105?
No fix has been published for CVE-2013-2105 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2013-2105 being exploited?
There is no known exploitation of CVE-2013-2105 in the wild and no public exploit code.
Sources
Also known as GHSA-9hx9-w2j6-rw76.