WordPress up to 4.9.6 wp-admin/post.php wp_delete_attachment thumb path traversal
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.8 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, was found in WordPress (Content Management System). Affected is the function wp_delete_attachment
of the file wp-admin/post.php. The manipulation of the argument thumb
as part of a Parameter leads to a path traversal vulnerability. CWE is classifying the issue as CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
WordPress through 4.9.6 allows Author users to execute arbitrary code by leveraging directory traversal in the wp-admin/post.php thumb parameter, which is passed to the PHP unlink function and can delete the wp-config.php file. This is related to missing filename validation in the wp-includes/post.php wp_delete_attachment function. The attacker must have capabilities for files and posts that are normally available only to the Author, Editor, and Administrator roles. The attack methodology is to delete wp-config.php and then launch a new installation process to increase the attacker's privileges.
The bug was discovered 06/26/2018. The weakness was published 06/26/2018 (Website). The advisory is shared for download at securityfocus.com. This vulnerability is traded as CVE-2018-12895 since 06/26/2018. The exploitability is told to be easy. It is possible to launch the attack remotely. Required for exploitation is a authentication. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1006.
By approaching the search of inurl:wp-admin/post.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 111393 (Debian DLA-1452-1 : wordpress security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 154000 (WordPress wp_delete_attachment() Code Execution Vulnerability).
Upgrading to version 3.7.27, 3.8.27, 3.9.25, 4.0.24, 4.1.24, 4.2.21, 4.3.17, 4.4.16, 4.5.15, 4.6.12, 4.7.11, 4.8.7 or 4.9.7 eliminates this vulnerability. The upgrade is hosted for download at github.com. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (111393). Further details are available at blog.ripstech.com.
Product
Type
Name
Version
- 0.7.0
- 0.7.1
- 0.7.2
- 1.0
- 1.0 rc1
- 1.0.1
- 1.0.1 rc1
- 1.0.2
- 1.2
- 1.2 Beta
- 1.2 rc1
- 1.2 rc2
- 1.2.1
- 1.2.2
- 1.5
- 1.5.1
- 1.5.1.1
- 1.5.1.2
- 1.5.1.3
- 1.5.2
- 2.0
- 2.0 rc1
- 2.0.1
- 2.0.1 rc1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.5 Beta1
- 2.0.5 rc1
- 2.0.6
- 2.0.6 Beta1
- 2.0.6 rc1
- 2.0.6 rc2
- 2.0.7
- 2.0.7 rc1
- 2.0.7 rc2
- 2.0.8
- 2.0.8 rc1
- 2.0.9
- 2.0.9 Beta1
- 2.0.9 rc1
- 2.0.10
- 2.0.10 rc1
- 2.0.10 rc2
- 2.0.10 rc3
- 2.0.11
- 2.1
- 2.1 Beta1
- 2.1 Beta2
- 2.1 Beta3
- 2.1 Beta4
- 2.1 rc1
- 2.1 rc2
- 2.1.1
- 2.1.1 Beta1
- 2.1.1 rc1
- 2.1.2
- 2.1.3
- 2.2
- 2.2 rc1
- 2.2 rc2
- 2.2.1
- 2.2.1 rc1
- 2.2.1 rc2
- 2.2.2
- 2.2.3
- 2.3
- 2.3 Beta1
- 2.3 Beta2
- 2.3 Beta3
- 2.3 rc1
- 2.3.1
- 2.3.1 Beta1
- 2.3.1 rc1
- 2.3.2
- 2.3.2 Beta1
- 2.3.2 Beta2
- 2.3.2 Beta3
- 2.3.2 rc1
- 2.3.3
- 2.5
- 2.5 rc1
- 2.5 rc2
- 2.5 rc3
- 2.5.1
- 2.6
- 2.6 Beta1
- 2.6 Beta2
- 2.6 Beta3
- 2.6 rc1
- 2.6.1
- 2.6.1 Beta1
- 2.6.1 Beta2
- 2.6.2
- 2.6.3
- 2.6.5
- 2.7
- 2.7 Beta1
- 2.7 Beta2
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- 4.5.5
- 4.5.6
- 4.5.7
- 4.5.8
- 4.5.9
- 4.5.10
- 4.5.11
- 4.5.12
- 4.5.13
- 4.5.14
- 4.6
- 4.6 Beta1
- 4.6 Beta2
- 4.6 Beta3
- 4.6 Beta4
- 4.6 rc1
- 4.6 rc2
- 4.6 rc3
- 4.6 rc4
- 4.6.1
- 4.6.1 rc1
- 4.6.2
- 4.6.3
- 4.6.4
- 4.6.5
- 4.6.6
- 4.6.7
- 4.6.8
- 4.6.9
- 4.6.10
- 4.6.11
- 4.7
- 4.7 Beta1
- 4.7 Beta2
- 4.7 Beta3
- 4.7 Beta4
- 4.7 rc1
- 4.7 rc2
- 4.7 rc3
- 4.7.1
- 4.7.1 rc1
- 4.7.2
- 4.7.3
- 4.7.3 rc1
- 4.7.4
- 4.7.4 rc1
- 4.7.5
- 4.7.6
- 4.7.7
- 4.7.8
- 4.7.9
- 4.7.10
- 4.8
- 4.8 Beta1
- 4.8 Beta2
- 4.8 rc1
- 4.8 rc2
- 4.8.1
- 4.8.1 Beta1
- 4.8.1 rc1
- 4.8.1 rc2
- 4.8.2
- 4.8.3
- 4.8.4
- 4.8.5
- 4.8.6
- 4.9
- 4.9 Beta1
- 4.9 Beta2
- 4.9 Beta3
- 4.9 Beta4
- 4.9 rc1
- 4.9 rc2
- 4.9 rc3
- 4.9.1
- 4.9.1 Beta1
- 4.9.2
- 4.9.3
- 4.9.3 Beta1
- 4.9.3 rc1
- 4.9.4
- 4.9.5
- 4.9.5 Beta1
- 4.9.5 rc1
- 4.9.6
- 4.9.6 Beta1
- 4.9.6 rc1
- 4.9.6 rc2
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 4.7
VulDB Temp Score: 4.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.2
NVD Vector: 🔍
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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
ATT&CK: T1006
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 111393
Nessus Name: Debian DLA-1452-1 : wordpress security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
Exposure Time: 🔍
Upgrade: WordPress 3.7.27/3.8.27/3.9.25/4.0.24/4.1.24/4.2.21/4.3.17/4.4.16/4.5.15/4.6.12/4.7.11/4.8.7/4.9.7
Timeline
06/26/2018 🔍06/26/2018 🔍
06/26/2018 🔍
06/26/2018 🔍
06/26/2018 🔍
06/27/2018 🔍
07/29/2018 🔍
07/30/2018 🔍
03/29/2023 🔍
Sources
Product: wordpress.comAdvisory: DLA 1452-1⛔
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-12895 (🔍)
OVAL: 🔍
SecurityFocus: 104569 - WordPress CVE-2018-12895 Directory Traversal Vulnerability
Misc.: 🔍
Entry
Created: 06/27/2018 17:44Updated: 03/29/2023 08:52
Changes: 06/27/2018 17:44 (83), 06/07/2020 15:26 (2), 03/29/2023 08:52 (4)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.