| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in WordPress up to 5.0.0. This affects an unknown function of the file jpg?file.php. The manipulation with the input jpg?file.php as part of String results in code injection.
This vulnerability is known as CVE-2019-8942. It is possible to launch the attack remotely. Furthermore, an exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability classified as critical has been found in WordPress up to 5.0.0 (Content Management System). Affected is an unknown function of the file jpg?file.php. The manipulation with the input value jpg?file.php leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
WordPress before 4.9.9 and 5.x before 5.0.1 allows remote code execution because an _wp_attached_file Post Meta entry can be changed to an arbitrary string, such as one ending with a .jpg?file.php substring. An attacker with author privileges can execute arbitrary code by uploading a crafted image containing PHP code in the Exif metadata. Exploitation can leverage CVE-2019-8943.
The bug was discovered 02/19/2019. The weakness was published 02/20/2019 by Ryan Dewhurst (Website). The advisory is shared for download at exploit-db.com. This vulnerability is traded as CVE-2019-8942 since 02/19/2019. It is possible to launch the attack remotely. The successful exploitation requires a authentication. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.
A public exploit has been developed in Python and been published 2 months after the advisory. The exploit is shared for download at exploit-db.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. By approaching the search of inurl:jpg?file.php it is possible to find vulnerable targets with Google Hacking. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176626 (Debian Security Update for wordpress (DSA 4401-1)).
Upgrading to version 4.9.9 or 5.0.1 eliminates this vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (46662) and SecurityFocus (BID 106220†). Further details are available at blog.ripstech.com. Similar entries are available at VDB-127992, VDB-127993, VDB-127994 and VDB-127995. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 3.7.28
- 3.8
- 3.8 Beta1
- 3.8 rc1
- 3.8 rc2
- 3.8.1
- 3.8.1 rc1
- 3.8.2
- 3.8.3
- 3.8.4
- 3.8.5
- 3.8.6
- 3.8.7
- 3.8.8
- 3.8.9
- 3.8.10
- 3.8.11
- 3.8.12
- 3.8.13
- 3.8.14
- 3.8.15
- 3.8.16
- 3.8.17
- 3.8.18
- 3.8.19
- 3.8.20
- 3.8.21
- 3.8.22
- 3.8.23
- 3.8.24
- 3.8.25
- 3.8.26
- 3.8.27
- 3.8.28
- 3.9.26
- 4.0
- 4.0 Beta1
- 4.0 Beta2
- 4.0 Beta3
- 4.0 Beta4
- 4.0 rc1
- 4.0 rc2
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.0.10
- 4.0.11
- 4.0.12
- 4.0.13
- 4.0.14
- 4.0.15
- 4.0.16
- 4.0.17
- 4.0.18
- 4.0.19
- 4.0.20
- 4.0.21
- 4.0.22
- 4.0.23
- 4.0.24
- 4.0.25
- 4.1
- 4.1 Beta1
- 4.1 Beta2
- 4.1 rc1
- 4.1 rc2
- 4.1 rc3
- 4.1.1
- 4.1.2
- 4.1.3
- 4.1.4
- 4.1.5
- 4.1.6
- 4.1.7
- 4.1.8
- 4.1.9
- 4.1.10
- 4.1.11
- 4.1.12
- 4.1.13
- 4.1.14
- 4.1.15
- 4.1.16
- 4.1.17
- 4.1.18
- 4.1.19
- 4.1.20
- 4.1.21
- 4.1.22
- 4.1.23
- 4.1.24
- 4.1.25
- 4.2
- 4.2 Beta1
- 4.2 Beta2
- 4.2 Beta3
- 4.2 Beta4
- 4.2 rc1
- 4.2 rc2
- 4.2 rc3
- 4.2 rc4
- 4.2.1
- 4.2.2
- 4.2.3
- 4.2.4
- 4.2.4 rc1
- 4.2.5
- 4.2.6
- 4.2.7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 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.7.11
- 4.7.12
- 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.8.7
- 4.8.8
- 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
- 4.9.7
- 4.9.8
- 5.0
License
Website
- Product: https://wordpress.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
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: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
Programming Language: 🔍
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: WordPress 4.9.9/5.0.1
Timeline
12/13/2018 🔍02/19/2019 🔍
02/19/2019 🔍
02/20/2019 🔍
02/20/2019 🔍
04/05/2019 🔍
04/05/2019 🔍
08/04/2025 🔍
Sources
Product: wordpress.comAdvisory: 152396
Researcher: Ryan Dewhurst
Status: Confirmed
CVE: CVE-2019-8942 (🔍)
GCVE (CVE): GCVE-0-2019-8942
GCVE (VulDB): GCVE-100-131040
SecurityFocus: 106220 - WordPress Prior to 5.0.1 Multiple Security Vulnerabilities
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍
Entry
Created: 02/20/2019 10:28Updated: 08/04/2025 15:03
Changes: 02/20/2019 10:28 (74), 06/07/2020 14:19 (3), 07/11/2023 14:43 (4), 07/11/2023 14:47 (1), 08/04/2025 15:03 (14)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Do you know our Splunk app?
Download it now for free!