RubyGems CVE-2012-2125 URI Redirection Vulnerability

BID:55680

Info

RubyGems CVE-2012-2125 URI Redirection Vulnerability

Bugtraq ID: 55680
Class: Design Error
CVE: CVE-2012-2125
Remote: Yes
Local: No
Published: Apr 20 2012 12:00AM
Updated: Oct 21 2013 12:18AM
Credit: John Firebaugh
Vulnerable: Ubuntu Ubuntu Linux 12.04 LTS i386
Ubuntu Ubuntu Linux 12.04 LTS amd64
RubyGems RubyGems 0.9.1
RubyGems RubyGems 0.9
RubyGems RubyGems 0.8.11
RubyGems RubyGems 1.9.3
Red Hat Enterprise Linux Workstation Optional 6
Red Hat Enterprise Linux Server Optional 6
Red Hat Enterprise Linux HPC Node Optional 6
Red Hat Enterprise Linux Desktop Optional 6
Oracle Enterprise Linux 6.2
Oracle Enterprise Linux 6
CentOS CentOS 6
Not Vulnerable: RubyGems RubyGems 1.9.3-p194

Discussion

RubyGems CVE-2012-2125 URI Redirection Vulnerability

RubyGems is prone to a URI-redirection vulnerability.

An attacker can leverage this issue by constructing a crafted URI and enticing a user to follow it. When an unsuspecting user follows the link, they may be redirected to an attacker-controlled site; this may aid in phishing attacks. Other attacks are also possible.

Exploit / POC

RubyGems CVE-2012-2125 URI Redirection Vulnerability

An attacker can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.

Solution / Fix

RubyGems CVE-2012-2125 URI Redirection Vulnerability

Solution:
Updates are available. Please see the references for more information.

References

RubyGems CVE-2012-2125 URI Redirection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report