# CVE-2020-6287: SAP NetWeaver Missing Authentication for Critical Function

> Unauthenticated attackers can execute configuration tasks and create administrative users in SAP NetWeaver AS JAVA, leading to full system compromise.

- **Severity:** Critical 10.0 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Yes, since 3 Nov 2021 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 14 Jul 2020
- **Updated:** 21 Oct 2025
- **Also known as:** GHSA-676j-vqr4-6w3h

## What is CVE-2020-6287?

CVE-2020-6287 is a critical missing authorization vulnerability in Sap Netweaver Application Server Java, published on 14 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

SAP NetWeaver AS JAVA (LM Configuration Wizard), versions - 7.30, 7.31, 7.40, 7.50, does not perform an authentication check which allows an attacker without prior authentication to execute configuration tasks to perform critical actions against the SAP Java system, including the ability to create an administrative user, and therefore compromising Confidentiality, Integrity and Availability of the system, leading to Missing Authentication Check.

Weakness: CWE-306 (Missing Authentication for Critical Functionality)

## Which versions are affected by CVE-2020-6287?

It affects 1 product.


Products: Sap Netweaver Application Server Java.

## How do I fix CVE-2020-6287?

No fix has been published for CVE-2020-6287 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.

## Is CVE-2020-6287 being exploited?

Yes. Attackers have exploited CVE-2020-6287 in the wild since at least 3 Nov 2021.

Public exploit code:

- PoC for CVE-2020-6287, CVE-2020-6286 (SAP RECON vulnerability) (github_poc): https://github.com/chipik/SAP_RECON
- PoC for CVE-2020-6287  The PoC in python for add user only, no administrator permission set. Inspired by @zeroSteiner from metasploit. Original Metasploit PR module: https://github.com/rapid7/metasploit-framework/pull/13852/commits/d1e2c75b3eafa7f62a6aba9fbe6220c8da97baa8 This PoC only create user with unauthentication permission and no more administrator permission set. This project is created only for educational purposes and cannot be used for law violation or personal gain. The author of this project is not responsible for any possible harm caused by the materials of this project. Original finding: CVE-2020-6287: Pablo Artuso CVE-2020-6286: Yvan 'iggy' G.  Usage: python sap-CVE-2020-6287-add-user.py <HTTP(s)://IP:Port (github_poc): https://github.com/duc-nt/CVE-2020-6287-exploit
- https://github.com/Onapsis/CVE-2020-6287_RECON-scanner (github_poc): https://github.com/Onapsis/CVE-2020-6287_RECON-scanner
- [CVE-2020-6287] SAP NetWeaver AS JAVA (LM Configuration Wizard) Authentication Bypass (Create Simple & Administrator Java User) (github_poc): https://github.com/murataydemir/CVE-2020-6287
- sap netweaver portal add user administrator (github_poc): https://github.com/ynsmroztas/CVE-2020-6287-Sap-Add-User
- Automated Exploit for CVE-2020-6287 (github_poc): https://github.com/dylvie/CVE-2020-6287_SAP-NetWeaver-bypass-auth

## Other vulnerabilities in Sap Netweaver Application Server Java

- [CVE-2010-5326](https://insights.sbomify.com/CVE-2010-5326/): SAP NetWeaver Remote Code Execution (critical 10.0, exploited in the wild)
- [CVE-2016-2386](https://insights.sbomify.com/CVE-2016-2386/): SAP NetWeaver SQL Injection (critical 9.8, exploited in the wild)
- [CVE-2017-12637](https://insights.sbomify.com/CVE-2017-12637/): SAP NetWeaver Directory Traversal (high 7.5, exploited in the wild)
- [CVE-2016-3976](https://insights.sbomify.com/CVE-2016-3976/): SAP NetWeaver Directory Traversal (high 7.5, exploited in the wild)
- [CVE-2016-9563](https://insights.sbomify.com/CVE-2016-9563/): SAP NetWeaver XML External Entity (XXE) (medium 6.5, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-6287 and fix it if it is affected.

What it is: CVE-2020-6287 is a critical missing authorization vulnerability in Sap Netweaver Application Server Java, published on 14 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2020-6287 in the wild since at least 3 Nov 2021.

Affected product: Sap Netweaver Application Server Java. No package-level version data is available, so check the vendor advisory linked from the reference page.

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-2020-6287/ (Markdown: https://insights.sbomify.com/CVE-2020-6287/index.md)
```

## Sources

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

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