# CVE-2013-3827: Path Traversal in Eclipse Mojarra

> Remote attackers can compromise confidentiality in Oracle GlassFish, JDeveloper, and WebLogic Server via unspecified vectors in Java Server Faces or Web Container.

- **Severity:** Medium 5.0 (`AV:N/AC:L/Au:N/C:P/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not stated
- **Attackable:** Over the internet
- **Victim action needed:** Not stated
- **Fix available:** Yes
- **Published:** 16 Oct 2013
- **Updated:** 6 Aug 2024
- **Also known as:** GHSA-q388-j7cw-ff7w

## What is CVE-2013-3827?

CVE-2013-3827 is a medium-severity vulnerability in Oracle Fusion Middleware, published on 16 Oct 2013. It can be exploited over the network.

### Official description

Unspecified vulnerability in the Oracle GlassFish Server component in Oracle Fusion Middleware 2.1.1, 3.0.1, and 3.1.2; the Oracle JDeveloper component in Oracle Fusion Middleware 11.1.2.3.0, 11.1.2.4.0, and 12.1.2.0.0; and the Oracle WebLogic Server component in Oracle Fusion Middleware 10.3.6.0 and 12.1.1 allows remote attackers to affect confidentiality via unknown vectors related to Java Server Faces or Web Container.

## Which versions are affected by CVE-2013-3827?

2 open source packages ship an affected version, including org.glassfish:javax.faces. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.glassfish:javax.faces` | Maven | From 2.0.0 | 2.1.19 |
| `org.glassfish:javax.faces` | Maven | From 2.0.0 | 2.1.19 |

Products: Oracle Fusion Middleware.

## How do I fix CVE-2013-3827?

Upgrade org.glassfish:javax.faces to 2.1.19 or later.

## Is CVE-2013-3827 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-3827 exists.

Public exploit code:

- Quick PoC checker for common configurations that might be available via directory traversal due to CVE-2013-3827 (github_poc): https://github.com/thistehneisen/CVE-2013-3827
- Oracle GlassFish Server 2.1.1/3.0.1 - Multiple Subcomponent Resource Identifier Traversal Arbitrary File Access (exploitdb)
- Javafaces LFI (nuclei): http/cves/2013/CVE-2013-3827.yaml

## Other vulnerabilities in Oracle Fusion Middleware

- [CVE-2012-1710](https://insights.sbomify.com/CVE-2012-1710/): Oracle Fusion Middleware Unspecified (critical 9.8, exploited in the wild)
- [CVE-2012-3152](https://insights.sbomify.com/CVE-2012-3152/): Oracle Fusion Middleware Unspecified (critical 9.1, exploited in the wild)
- [CVE-2012-0518](https://insights.sbomify.com/CVE-2012-0518/): Oracle Fusion Middleware Unspecified (medium 4.7, exploited in the wild)
- [CVE-2013-2380](https://insights.sbomify.com/CVE-2013-2380/): Other in n/a (critical 10.0)
- [CVE-2012-3135](https://insights.sbomify.com/CVE-2012-3135/): Other in n/a (critical 10.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2013-3827 and fix it if it is affected.

What it is: CVE-2013-3827 is a medium-severity vulnerability in Oracle Fusion Middleware, published on 16 Oct 2013. It can be exploited over the network.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-3827 exists.

Affected packages and fixed versions:
- org.glassfish:javax.faces (Maven): affected from 2.0.0; fixed in 2.1.19
- org.glassfish:javax.faces (Maven): affected from 2.0.0; fixed in 2.1.19

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2013-3827/ (Markdown: https://insights.sbomify.com/CVE-2013-3827/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2013-3827
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2013-3827
- OSV: https://osv.dev/vulnerability/CVE-2013-3827

---
From sbomify Insights: https://insights.sbomify.com/CVE-2013-3827/
Summaries are generated and may contain mistakes; the official description above is the record.
