Grav up to 1.7.41 special elements used in a template engine
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Name
Version
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.7.5
- 1.7.6
- 1.7.7
- 1.7.8
- 1.7.9
- 1.7.10
- 1.7.11
- 1.7.12
- 1.7.13
- 1.7.14
- 1.7.15
- 1.7.16
- 1.7.17
- 1.7.18
- 1.7.19
- 1.7.20
- 1.7.21
- 1.7.22
- 1.7.23
- 1.7.24
- 1.7.25
- 1.7.26
- 1.7.27
- 1.7.28
- 1.7.29
- 1.7.30
- 1.7.31
- 1.7.32
- 1.7.33
- 1.7.34
- 1.7.35
- 1.7.36
- 1.7.37
- 1.7.38
- 1.7.39
- 1.7.40
- 1.7.41
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB 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.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Improper neutralization of special elements used in a template engineCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Grav 1.7.42
Patch: 71bbed12f950de8335006d7f91112263d8504f1b
Timeline
05/31/2023 🔍06/15/2023 🔍
06/15/2023 🔍
07/19/2023 🔍
Sources
Advisory: GHSA-j3v8-v77f-fvgmStatus: Confirmed
CVE: CVE-2023-34253 (🔍)
CVE Duplicate: 🔍
GCVE (CVE): GCVE-0-2023-34253
GCVE (VulDB): GCVE-100-231594
Entry
Created: 06/15/2023 09:18Updated: 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.
No comments yet. Languages: en.
Please log in to comment.