ID CVE-2017-11173
Summary Missing anchor in generated regex for rack-cors before 0.4.1 allows a malicious third-party site to perform CORS requests. If the configuration were intended to allow only the trusted example.com domain name and not the malicious example.net domain name, then example.com.example.net (as well as example.com-example.net) would be inadvertently allowed.
References
Vulnerable Configurations
  • cpe:2.3:a:rack-cors_project:rack-cors:0.4.0
    cpe:2.3:a:rack-cors_project:rack-cors:0.4.0
CVSS
Base: 6.8
Impact:
Exploitability:
CWE CWE-284
CAPEC
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2017-C22A8AF4E9.NASL
    description Security fix for CVE-2017-11173, new upstream version Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-02
    modified 2018-02-02
    plugin id 102006
    published 2017-07-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=102006
    title Fedora 25 : rubygem-rack-cors (2017-c22a8af4e9)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3931.NASL
    description Jens Mueller discovered that an incorrect regular expression in rack-cors may lead to insufficient restriction of CORS requests.
    last seen 2018-11-13
    modified 2018-11-10
    plugin id 103792
    published 2017-10-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=103792
    title Debian DSA-3931-1 : ruby-rack-cors - security update
refmap via4
debian DSA-3931
misc
Last major update 12-07-2017 - 23:29
Published 12-07-2017 - 23:29
Last modified 03-11-2017 - 21:29
Back to Top