CVE-2016-6316
published 2016-09-07CVE-2016-6316: Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote…
PriorityP427medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
3.44%
87.6th percentile
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
Affected
116 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | rails | < rails 2:4.2.7.1-1 (bookworm) | rails 2:4.2.7.1-1 (bookworm) |
| rails | actionview | >= 3.0.0 < 3.2.22.3 | 3.2.22.3 |
| rails | actionview | >= 4.0.0 < 4.2.7.1 | 4.2.7.1 |
| rails | actionview | >= 5.0.0 < 5.0.0.1 | 5.0.0.1 |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
CVSS provenance
nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1LOW
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rubygem-actionview: cross-site scripting flaw in Action View
vendor_redhat·2016-08-11·CVSS 6.1
CVE-2016-6316 [MEDIUM] CWE-79 rubygem-actionview: cross-site scripting flaw in Action View
rubygem-actionview: cross-site scripting flaw in Action View
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
It was discovered that Action View tag helpers did not escape quotes when using strings declared as HTML safe as attribute values. A remote attacker could use this flaw to conduct a cross-site scripting (XSS) attack.
Package: ruby193-rubygem-actionpack (Red Hat Subscription Asset Manager) - Affected
Debian
CVE-2016-6316: rails - Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x bef...
vendor_debian·2016·CVSS 6.1
CVE-2016-6316 [MEDIUM] CVE-2016-6316: rails - Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x bef...
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
Scope: local
bookworm: resolved (fixed in 2:4.2.7.1-1)
bullseye: resolved (fixed in 2:4.2.7.1-1)
forky: resolved (fixed in 2:4.2.7.1-1)
sid: resolved (fixed in 2:4.2.7.1-1)
trixie: resolved (fixed in 2:4.2.7.1-1)
GHSA
actionview Cross-site Scripting vulnerability
ghsa·2017-10-24
CVE-2016-6316 [MEDIUM] CWE-79 actionview Cross-site Scripting vulnerability
actionview Cross-site Scripting vulnerability
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
OSV
actionview Cross-site Scripting vulnerability
osv·2017-10-24
CVE-2016-6316 [MEDIUM] actionview Cross-site Scripting vulnerability
actionview Cross-site Scripting vulnerability
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
OSV
CVE-2016-6316: Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3
osv·2016-09-07·CVSS 6.1
CVE-2016-6316 [MEDIUM] CVE-2016-6316: Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3
Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View [fedora-all]
bugzilla·2016-08-12·CVSS 6.1
CVE-2016-6316 [MEDIUM] CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View [fedora-all]
CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported ve
Bugzilla
CVE-2016-6313 libgcrypt: PRNG output is predictable
bugzilla·2016-08-11·CVSS 5.3
CVE-2016-6313 [MEDIUM] CVE-2016-6313 libgcrypt: PRNG output is predictable
CVE-2016-6313 libgcrypt: PRNG output is predictable
A design flaw was found in the libgcrypt PRNG (Pseudo-Random Number Generator). An attacker who can obtain the first 580 bytes of the PRNG output, can trivially predict the following 20 bytes.
Discussion:
Acknowledgements:
Name: Felix Dörre, Vladimir Klebanov
---
External Reference:
https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000395.html
---
Created libgcrypt tracking bugs for this issue:
Affects: fedora-all [bug 1368041]
---
Note that CVE-2016-6316 used in announcement is wrong, it should be CVE-2016-6313 as used in commit messages.
---
Upstream commit for libgcrypt 1.7:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=8dd45ad957b54b939c288a68720137386c7f6501
Upstream commit applied to li
Bugzilla
CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View
bugzilla·2016-08-08·CVSS 6.1
CVE-2016-6316 [MEDIUM] CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View
CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View
A cross-site scripting flaw was found in Action View. Text declared as "HTML safe" will not have quotes escaped when used as attribute values in tag helpers.
Discussion:
Acknowledgments:
Name: the Ruby on Rails project
Upstream: Andrew Carpenter (Critical Juncture)
---
Created attachment 1188633
3-2-attribute-xss.patch
---
Created attachment 1188634
4-2-attribute-xss.patch
---
Created attachment 1188635
5-0-attribute-xss.patch
---
Created rubygem-actionview tracking bugs for this issue:
Affects: fedora-all [bug 1366480]
---
External References:
https://groups.google.com/forum/#!msg/rubyonrails-security/I-VWr034ouk/gGu2FrCwDAAJ
---
The original patch was reported to be faulty:
http://seclists.org/o
http://rhn.redhat.com/errata/RHSA-2016-1855.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1856.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1857.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1858.htmlhttp://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/http://www.debian.org/security/2016/dsa-3651http://www.openwall.com/lists/oss-security/2016/08/11/3http://www.securityfocus.com/bid/92430https://groups.google.com/forum/#%21topic/ruby-security-ann/8B2iV2tPRSEhttps://puppet.com/security/cve/cve-2016-6316http://rhn.redhat.com/errata/RHSA-2016-1855.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1856.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1857.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1858.htmlhttp://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/http://www.debian.org/security/2016/dsa-3651http://www.openwall.com/lists/oss-security/2016/08/11/3http://www.securityfocus.com/bid/92430https://groups.google.com/forum/#%21topic/ruby-security-ann/8B2iV2tPRSEhttps://puppet.com/security/cve/cve-2016-6316
2016-09-07
Published