8.8
HIGH
CVE-2020-7931
JFrog Artifactory FreeMarker Remote Code Execution
Description

In JFrog Artifactory 5.x and 6.x, insecure FreeMarker template processing leads to remote code execution, e.g., by modifying a .ssh/authorized_keys file. Patches are available for various versions between 5.11.8 and 6.16.0. The issue exists because use of the DefaultObjectWrapper class makes certain Java functions accessible to a template.

INFO

Published Date :

Jan. 23, 2020, 3:15 p.m.

Last Modified :

Jan. 30, 2020, 2:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2020-7931 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-7931 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jfrog artifactory
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-7931.

URL Resource
https://github.com/atredispartners/advisories/blob/master/ATREDIS-2019-0006.md Exploit Third Party Advisory
https://www.jfrog.com/confluence/display/RTF/Release+Notes Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 months ago
17 stars 5 fork 5 watcher
Born at : July 28, 2022, 3:22 a.m. This repo has been linked 149 different CVEs too.

None

Updated: 4 months, 1 week ago
8 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 943 different CVEs too.

None

Updated: 2 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : April 30, 2022, 6:06 p.m. This repo has been linked 55 different CVEs too.

None

Updated: 8 months ago
33 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 1 year, 2 months ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

Updated: 2 months, 3 weeks ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Hacking Artifactory with server side template injection

artifactory hacking pentest cve-2020-7931 exploit rce

Python

Updated: 2 months, 4 weeks ago
50 stars 12 fork 12 watcher
Born at : March 11, 2020, 1:56 p.m. This repo has been linked 1 different CVEs too.

整理的一些工具和笔记

Python Shell Java C Go PowerShell

Updated: 2 months ago
123 stars 52 fork 52 watcher
Born at : Sept. 5, 2019, 6:26 p.m. This repo has been linked 121 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-7931 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-7931 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 30, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/atredispartners/advisories/blob/master/ATREDIS-2019-0006.md No Types Assigned https://github.com/atredispartners/advisories/blob/master/ATREDIS-2019-0006.md Exploit, Third Party Advisory
    Changed Reference Type https://www.jfrog.com/confluence/display/RTF/Release+Notes No Types Assigned https://www.jfrog.com/confluence/display/RTF/Release+Notes Release Notes, Vendor Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:-:*:* versions up to (excluding) 5.11.8 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:-:*:* versions from (including) 6.0.0 up to (excluding) 6.1.6 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:-:*:* versions from (including) 6.2.0 up to (excluding) 6.3.9 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:-:*:* versions from (including) 6.4.0 up to (excluding) 6.7.8 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.8.0 up to (excluding) 6.8.17 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.9.0 up to (excluding) 6.9.6 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.10.0 up to (excluding) 6.10.9 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.11.0 up to (excluding) 6.11.7 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.12.0 up to (excluding) 6.12.3 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.13.0 up to (excluding) 6.13.2 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.14.0 up to (excluding) 6.14.2 *cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:*:*:* versions from (including) 6.15.0 up to (excluding) 6.15.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-7931 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-7931 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.03 }} 0.27%

score

0.83411

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability