CVE-2014-3626
Last modified
CVE-2014-3626 is a vulnerability of currently unknown severity. The Grails Resource Plugin often has to exchange URIs for resources with other internal components. Those other components will decode any URI passed to them. EPSS estimates a 1.74% chance of exploitation in the next 30 days.
Description
The Grails Resource Plugin often has to exchange URIs for resources with other internal components. Those other components will decode any URI passed to them. To protect against directory traversal the Grails Resource Plugin did the following: normalized the URI, checked the normalized URI did not step outside the appropriate root directory (e.g. the web application root), decoded the URI and checked that this did not introduce additional /../ (and similar) sequences. A bug was introduced where the Grails Resource Plugin before 1.2.13 returned the decoded version of the URI rather than the normalized version of the URI after the directory traversal check. This exposed a double decoding vulnerability. To address this issue, the Grails Resource Plugin now repeatedly decodes the URI up to three times or until decoding no longer changes the URI. If the decode limit of 3 is exceeded the URI is rejected. A side-effect of this is that the Grails Resource Plugin is unable to serve a resource that includes a '%' character in the full path to the resource. Not all environments are vulnerable because of the differences in URL resolving in different servlet containers. Applications deployed to Tomcat 8 and Jetty 9 were found not not be vulnerable, however applications deployed to JBoss EAP 6.3 / JBoss AS 7.4 and JBoss AS 7.1 were found to be vulnerable (other JBoss versions weren't tested). In certain cases JBoss returns JBoss specific vfs protocol urls from URL resolution methods (ClassLoader.getResources). The JBoss vfs URL protocol supports resolving any file on the filesystem. This made the directory traversal possible. There may be other containers, in addition to JBoss, on which this vulnerability is exposed.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Grails | Resources | >= 1.2.0, <= 1.2.12 |
References
- https://pivotal.io/security/cve-2014-3626Third Party Advisory
- https://pivotal.io/security/cve-2014-3626Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2014-3626?
How severe is CVE-2014-3626?
How do I fix CVE-2014-3626?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2014
- CVE-2014-3620cURL and libcurl before 7.38.0 allow remote attackers to byp…
- CVE-2014-3621The catalog url replacement in OpenStack Identity (Keystone)…
- CVE-2014-3622Use-after-free vulnerability in the add_post_var function in…9.8
- CVE-2014-3623Apache WSS4J before 1.6.17 and 2.x before 2.0.2, as used in …
- CVE-2014-3624Apache Traffic Server 5.1.x before 5.1.1 allows remote attac…
- CVE-2014-3625Directory traversal vulnerability in Pivotal Spring Framewor…
- CVE-2014-3627The YARN NodeManager daemon in Apache Hadoop 0.23.0 through …
- CVE-2014-3628Cross-site scripting (XSS) vulnerability in the Admin UI Plu…
- CVE-2014-3629XML external entity (XXE) vulnerability in the XML Exchange …
- CVE-2014-3630XML external entity (XXE) vulnerability in the Java XML proc…
- CVE-2014-3631The assoc_array_gc function in the associative-array impleme…
- CVE-2014-3632The default configuration in a sudoers file in the Red Hat o…
Are you affected by CVE-2014-3626?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
