Red Hat Ansible up to 2.3.0.x lookup-plugin lookup Unicode input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

A vulnerability was found in Red Hat Ansible up to 2.3.0.x. It has been rated as critical. This issue affects the function lookup of the component lookup-plugin. The manipulation as part of Unicode leads to input validation. This vulnerability is documented as CVE-2017-7481. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Red Hat Ansible up to 2.3.0.x. This issue affects the function lookup of the component lookup-plugin. The manipulation as part of a Unicode leads to a input validation vulnerability. Using CWE to declare the problem leads to CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.

The bug was discovered 06/29/2018. The weakness was released 07/19/2018 with Red Hat as not defined bug report (Bugzilla). The advisory is shared at bugzilla.redhat.com. The identification of this vulnerability is CVE-2017-7481 since 04/05/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 102813 (RHEL 7 : ansible (RHSA-2017:2524)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170554 (OpenSUSE Security Update for ansible (openSUSE-SU-2017:2976-1)).

Upgrading to version 2.3.1.0 or 2.4.0.0 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (102813) and SecurityFocus (BID 98492†). Entries connected to this vulnerability are available at VDB-109785, VDB-117006 and VDB-122337. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CNA Base Score: 5.3
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 102813
Nessus Name: RHEL 7 : ansible (RHSA-2017:2524)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for ansible FEDORA-2017-87a64155eb
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ansible 2.3.1.0/2.4.0.0
Patch: github.com

Timelineinfo

04/05/2017 🔍
05/09/2017 +34 days 🔍
08/22/2017 +105 days 🔍
08/29/2017 +7 days 🔍
06/29/2018 +304 days 🔍
07/19/2018 +19 days 🔍
07/19/2018 +0 days 🔍
07/19/2018 +0 days 🔍
04/18/2023 +1734 days 🔍

Sourcesinfo

Vendor: redhat.com

Advisory: RHSA-2017:2524
Organization: Red Hat
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-7481 (🔍)
GCVE (CVE): GCVE-0-2017-7481
GCVE (VulDB): GCVE-100-121961
SecurityFocus: 98492 - Ansible CVE-2017-7481 Security Bypass Vulnerability

See also: 🔍

Entryinfo

Created: 07/19/2018 19:30
Updated: 04/18/2023 15:43
Changes: 07/19/2018 19:30 (76), 03/08/2020 16:20 (5), 08/22/2022 09:37 (4), 04/18/2023 15:32 (3), 04/18/2023 15:37 (12), 04/18/2023 15:43 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!