Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2024-24551

Summary
Assigner-NCSC.ch
Assigner Org ID-455daabc-a392-441d-aa46-37d35189897c
Published At-24 Jun, 2024 | 07:08
Updated At-01 Aug, 2024 | 23:19
Rejected At-
Credits

Bludit - Remote Code Execution (RCE) through Image API

A security vulnerability has been identified in Bludit, allowing authenticated attackers to execute arbitrary code through the Image API. This vulnerability arises from improper handling of file uploads, enabling malicious actors to upload and execute PHP files.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:NCSC.ch
Assigner Org ID:455daabc-a392-441d-aa46-37d35189897c
Published At:24 Jun, 2024 | 07:08
Updated At:01 Aug, 2024 | 23:19
Rejected At:
▼CVE Numbering Authority (CNA)
Bludit - Remote Code Execution (RCE) through Image API

A security vulnerability has been identified in Bludit, allowing authenticated attackers to execute arbitrary code through the Image API. This vulnerability arises from improper handling of file uploads, enabling malicious actors to upload and execute PHP files.

Affected Products
Vendor
Bludit
Product
Bludit
Collection URL
https://www.bludit.com/
Package Name
Bludit
Repo
https://github.com/bludit/bludit/
Program Files
  • bl-kernel/functions.php
  • bl-plugins/api/plugin.php
Platforms
  • Linux
  • Windows
  • MacOS
Default Status
unaffected
Versions
Affected
  • v3.9.0 beta 1
Problem Types
TypeCWE IDDescription
CWECWE-77CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
CWECWE-502CWE-502 Deserialization of Untrusted Data
CWECWE-434CWE-434 Unrestricted Upload of File with Dangerous Type
Type: CWE
CWE ID: CWE-77
Description: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Type: CWE
CWE ID: CWE-502
Description: CWE-502 Deserialization of Untrusted Data
Type: CWE
CWE ID: CWE-434
Description: CWE-434 Unrestricted Upload of File with Dangerous Type
Metrics
VersionBase scoreBase severityVector
4.08.9HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Version: 4.0
Base score: 8.9
Base severity: HIGH
Vector:
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Metrics Other Info
Impacts
CAPEC IDDescription
CAPEC-650CAPEC-650 Upload a Web Shell to a Web Server
CAPEC-253CAPEC-253 Remote Code Inclusion
CAPEC-242CAPEC-242 Code Injection
CAPEC-175CAPEC-175 Code Inclusion
CAPEC ID: CAPEC-650
Description: CAPEC-650 Upload a Web Shell to a Web Server
CAPEC ID: CAPEC-253
Description: CAPEC-253 Remote Code Inclusion
CAPEC ID: CAPEC-242
Description: CAPEC-242 Code Injection
CAPEC ID: CAPEC-175
Description: CAPEC-175 Code Inclusion
Solutions

1. Remove tmp-folder from webroot: Ensure that the temporary file directory is relocated outside of the web root to prevent unauthorized access. 2. Remove files from tmp folder even on negative checks: Implement a cleanup process to remove files from the temporary folder, regardless of whether the file extension check is positive or negative. 3. Consolidate image upload code for AJAX requests: It should be noted that there is code for handling image uploads over AJAX (and not through the API) under `bl-kernel/ajax/profile-picture-upload.php`. This code is similar, but different to the API image upload code. For instance, the AJAX code for image uploads includes MIME type validation to provide an additional layer of security. It is advised to consolidate the code into a single location for easier maintenance and ensuring that it is consistent across different parts of the application.

Configurations

- Admin must enable the API (API is disabled by default). - Attacker requires an account to upload a malicious PHP file. - Authentication is not required to access the temporary file directory.

Workarounds

Exploits

Credits

finder
Andreas Pfefferle, Redguard AG
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/
N/A
Hyperlink: https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/
Resource: N/A
▼Authorized Data Publishers (ADP)
1. CISA ADP Vulnrichment
Affected Products
Vendor
bludit
Product
bludit
CPEs
  • cpe:2.3:a:bludit:bludit:3.9.0:*:*:*:*:*:*:*
Default Status
unknown
Versions
Affected
  • From 3.9.0 through 3.15.0 (custom)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
2. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/
x_transferred
Hyperlink: https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/
Resource:
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:vulnerability@ncsc.ch
Published At:24 Jun, 2024 | 07:15
Updated At:24 Jun, 2024 | 12:57

A security vulnerability has been identified in Bludit, allowing authenticated attackers to execute arbitrary code through the Image API. This vulnerability arises from improper handling of file uploads, enabling malicious actors to upload and execute PHP files.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-434Secondaryvulnerability@ncsc.ch
CWE-502Secondaryvulnerability@ncsc.ch
CWE-77Secondaryvulnerability@ncsc.ch
CWE ID: CWE-434
Type: Secondary
Source: vulnerability@ncsc.ch
CWE ID: CWE-502
Type: Secondary
Source: vulnerability@ncsc.ch
CWE ID: CWE-77
Type: Secondary
Source: vulnerability@ncsc.ch
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/vulnerability@ncsc.ch
N/A
Hyperlink: https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/
Source: vulnerability@ncsc.ch
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found