Grav up to 1.7.41 special elements used in a template engine

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.3$0-$5k0.00

Summaryinfo

A vulnerability was found in Grav up to 1.7.41. It has been declared as critical. Affected by this vulnerability is an unknown functionality. The manipulation results in improper neutralization of special elements used in a template engine. This vulnerability is cataloged as CVE-2023-34253. The attack may be launched remotely. There is no exploit available. It is recommended to upgrade the affected component. During the analysis of our data team we suspected a duplicate CVE assignment as CVE-2023-37897.

Detailsinfo

A vulnerability was found in Grav up to 1.7.41. It has been classified as critical. Affected is some unknown processing. The manipulation with an unknown input leads to a improper neutralization of special elements used in a template engine vulnerability. CWE is classifying the issue as CWE-1336. The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Grav is a file-based Web platform. Prior to version 1.7.42, the denylist introduced in commit 9d6a2d to prevent dangerous functions from being executed via injection of malicious templates was insufficient and could be easily subverted in multiple ways -- (1) using unsafe functions that are not banned, (2) using capitalised callable names, and (3) using fully-qualified names for referencing callables. Consequently, a low privileged attacker with login access to Grav Admin panel and page creation/update permissions is able to inject malicious templates to obtain remote code execution. A patch in version 1.7.42 improves the denylist.

The weakness was shared 06/15/2023 as GHSA-j3v8-v77f-fvgm. The advisory is available at github.com. This vulnerability is traded as CVE-2023-34253 since 05/31/2023. The technical details are unknown and an exploit is not available. This vulnerability is assigned to T1221 by the MITRE ATT&CK project.

Upgrading to version 1.7.42 eliminates this vulnerability. Applying the patch 71bbed12f950de8335006d7f91112263d8504f1b is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.4
VulDB Meta Temp Score: 7.3

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.2
NVD Vector: 🔍

CNA Base Score: 8.8
CNA Vector (GitHub, Inc.): 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Improper neutralization of special elements used in a template engine
CWE: CWE-1336 / CWE-791 / CWE-790
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

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Grav 1.7.42
Patch: 71bbed12f950de8335006d7f91112263d8504f1b

Timelineinfo

05/31/2023 🔍
06/15/2023 +15 days 🔍
06/15/2023 +0 days 🔍
07/19/2023 +34 days 🔍

Sourcesinfo

Advisory: GHSA-j3v8-v77f-fvgm
Status: Confirmed

CVE: CVE-2023-34253 (🔍)
CVE Duplicate: 🔍
GCVE (CVE): GCVE-0-2023-34253
GCVE (VulDB): GCVE-100-231594

Entryinfo

Created: 06/15/2023 09:18
Updated: 07/19/2023 06:45
Changes: 06/15/2023 09:18 (50), 07/13/2023 16:21 (11), 07/19/2023 06:45 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!