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-2023-38490

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-27 Jul, 2023 | 14:46
Updated At-16 Oct, 2024 | 20:31
Rejected At-
Credits

Kirby XML External Entity (XXE) vulnerability in the XML data handler

Kirby is a content management system. A vulnerability in versions prior to 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6 only affects Kirby sites that use the `Xml` data handler (e.g. `Data::decode($string, 'xml')`) or the `Xml::parse()` method in site or plugin code. The Kirby core does not use any of the affected methods. XML External Entities (XXE) is a little used feature in the XML markup language that allows to include data from external files in an XML structure. If the name of the external file can be controlled by an attacker, this becomes a vulnerability that can be abused for various system impacts like the disclosure of internal or confidential data that is stored on the server (arbitrary file disclosure) or to perform network requests on behalf of the server (server-side request forgery, SSRF). Kirby's `Xml::parse()` method used PHP's `LIBXML_NOENT` constant, which enabled the processing of XML external entities during the parsing operation. The `Xml::parse()` method is used in the `Xml` data handler (e.g. `Data::decode($string, 'xml')`). Both the vulnerable method and the data handler are not used in the Kirby core. However they may be used in site or plugin code, e.g. to parse RSS feeds or other XML files. If those files are of an external origin (e.g. uploaded by a user or retrieved from an external URL), attackers may be able to include an external entity in the XML file that will then be processed in the parsing process. Kirby sites that don't use XML parsing in site or plugin code are *not* affected. The problem has been patched in Kirby 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6. In all of the mentioned releases, the maintainers have removed the `LIBXML_NOENT` constant as processing of external entities is out of scope of the parsing logic. This protects all uses of the method against the described vulnerability.

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:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:27 Jul, 2023 | 14:46
Updated At:16 Oct, 2024 | 20:31
Rejected At:
▼CVE Numbering Authority (CNA)
Kirby XML External Entity (XXE) vulnerability in the XML data handler

Kirby is a content management system. A vulnerability in versions prior to 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6 only affects Kirby sites that use the `Xml` data handler (e.g. `Data::decode($string, 'xml')`) or the `Xml::parse()` method in site or plugin code. The Kirby core does not use any of the affected methods. XML External Entities (XXE) is a little used feature in the XML markup language that allows to include data from external files in an XML structure. If the name of the external file can be controlled by an attacker, this becomes a vulnerability that can be abused for various system impacts like the disclosure of internal or confidential data that is stored on the server (arbitrary file disclosure) or to perform network requests on behalf of the server (server-side request forgery, SSRF). Kirby's `Xml::parse()` method used PHP's `LIBXML_NOENT` constant, which enabled the processing of XML external entities during the parsing operation. The `Xml::parse()` method is used in the `Xml` data handler (e.g. `Data::decode($string, 'xml')`). Both the vulnerable method and the data handler are not used in the Kirby core. However they may be used in site or plugin code, e.g. to parse RSS feeds or other XML files. If those files are of an external origin (e.g. uploaded by a user or retrieved from an external URL), attackers may be able to include an external entity in the XML file that will then be processed in the parsing process. Kirby sites that don't use XML parsing in site or plugin code are *not* affected. The problem has been patched in Kirby 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6. In all of the mentioned releases, the maintainers have removed the `LIBXML_NOENT` constant as processing of external entities is out of scope of the parsing logic. This protects all uses of the method against the described vulnerability.

Affected Products
Vendor
getkirby
Product
kirby
Versions
Affected
  • < 3.5.8.3
  • >= 3.6.0, < 3.6.6.3
  • >= 3.7.0, < 3.7.5.2
  • >= 3.8.0, < 3.8.41
  • >= 3.9.0, < 3.9.6
Problem Types
TypeCWE IDDescription
CWECWE-611CWE-611: Improper Restriction of XML External Entity Reference
CWECWE-776CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Type: CWE
CWE ID: CWE-611
Description: CWE-611: Improper Restriction of XML External Entity Reference
Type: CWE
CWE ID: CWE-776
Description: CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Metrics
VersionBase scoreBase severityVector
3.16.8MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Version: 3.1
Base score: 6.8
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/getkirby/kirby/security/advisories/GHSA-q386-w6fg-gmgp
x_refsource_CONFIRM
https://github.com/getkirby/kirby/commit/277b05662d2b67386f0a0f18323cf68b30e86387
x_refsource_MISC
https://github.com/getkirby/kirby/releases/tag/3.5.8.3
x_refsource_MISC
https://github.com/getkirby/kirby/releases/tag/3.6.6.3
x_refsource_MISC
https://github.com/getkirby/kirby/releases/tag/3.7.5.2
x_refsource_MISC
https://github.com/getkirby/kirby/releases/tag/3.8.4.1
x_refsource_MISC
https://github.com/getkirby/kirby/releases/tag/3.9.6
x_refsource_MISC
Hyperlink: https://github.com/getkirby/kirby/security/advisories/GHSA-q386-w6fg-gmgp
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/getkirby/kirby/commit/277b05662d2b67386f0a0f18323cf68b30e86387
Resource:
x_refsource_MISC
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.5.8.3
Resource:
x_refsource_MISC
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.6.6.3
Resource:
x_refsource_MISC
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.7.5.2
Resource:
x_refsource_MISC
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.8.4.1
Resource:
x_refsource_MISC
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.9.6
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. 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://github.com/getkirby/kirby/security/advisories/GHSA-q386-w6fg-gmgp
x_refsource_CONFIRM
x_transferred
https://github.com/getkirby/kirby/commit/277b05662d2b67386f0a0f18323cf68b30e86387
x_refsource_MISC
x_transferred
https://github.com/getkirby/kirby/releases/tag/3.5.8.3
x_refsource_MISC
x_transferred
https://github.com/getkirby/kirby/releases/tag/3.6.6.3
x_refsource_MISC
x_transferred
https://github.com/getkirby/kirby/releases/tag/3.7.5.2
x_refsource_MISC
x_transferred
https://github.com/getkirby/kirby/releases/tag/3.8.4.1
x_refsource_MISC
x_transferred
https://github.com/getkirby/kirby/releases/tag/3.9.6
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/getkirby/kirby/security/advisories/GHSA-q386-w6fg-gmgp
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/getkirby/kirby/commit/277b05662d2b67386f0a0f18323cf68b30e86387
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.5.8.3
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.6.6.3
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.7.5.2
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.8.4.1
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.9.6
Resource:
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
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
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:27 Jul, 2023 | 15:15
Updated At:03 Aug, 2023 | 13:31

Kirby is a content management system. A vulnerability in versions prior to 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6 only affects Kirby sites that use the `Xml` data handler (e.g. `Data::decode($string, 'xml')`) or the `Xml::parse()` method in site or plugin code. The Kirby core does not use any of the affected methods. XML External Entities (XXE) is a little used feature in the XML markup language that allows to include data from external files in an XML structure. If the name of the external file can be controlled by an attacker, this becomes a vulnerability that can be abused for various system impacts like the disclosure of internal or confidential data that is stored on the server (arbitrary file disclosure) or to perform network requests on behalf of the server (server-side request forgery, SSRF). Kirby's `Xml::parse()` method used PHP's `LIBXML_NOENT` constant, which enabled the processing of XML external entities during the parsing operation. The `Xml::parse()` method is used in the `Xml` data handler (e.g. `Data::decode($string, 'xml')`). Both the vulnerable method and the data handler are not used in the Kirby core. However they may be used in site or plugin code, e.g. to parse RSS feeds or other XML files. If those files are of an external origin (e.g. uploaded by a user or retrieved from an external URL), attackers may be able to include an external entity in the XML file that will then be processed in the parsing process. Kirby sites that don't use XML parsing in site or plugin code are *not* affected. The problem has been patched in Kirby 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6. In all of the mentioned releases, the maintainers have removed the `LIBXML_NOENT` constant as processing of external entities is out of scope of the parsing logic. This protects all uses of the method against the described vulnerability.

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
Primary3.110.0CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Secondary3.16.8MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Type: Primary
Version: 3.1
Base score: 10.0
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Type: Secondary
Version: 3.1
Base score: 6.8
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
CPE Matches

getkirby
getkirby
>>kirby>>Versions from 3.5.0(inclusive) to 3.5.8.3(exclusive)
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*
getkirby
getkirby
>>kirby>>Versions from 3.6.0(inclusive) to 3.6.6.3(exclusive)
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*
getkirby
getkirby
>>kirby>>Versions from 3.7.0(inclusive) to 3.7.5.2(exclusive)
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*
getkirby
getkirby
>>kirby>>Versions from 3.8.0(inclusive) to 3.8.4.1(exclusive)
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*
getkirby
getkirby
>>kirby>>Versions from 3.9.0(inclusive) to 3.9.6(exclusive)
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-611Primarysecurity-advisories@github.com
CWE-776Primarysecurity-advisories@github.com
CWE ID: CWE-611
Type: Primary
Source: security-advisories@github.com
CWE ID: CWE-776
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/getkirby/kirby/commit/277b05662d2b67386f0a0f18323cf68b30e86387security-advisories@github.com
Patch
Third Party Advisory
https://github.com/getkirby/kirby/releases/tag/3.5.8.3security-advisories@github.com
Third Party Advisory
https://github.com/getkirby/kirby/releases/tag/3.6.6.3security-advisories@github.com
Third Party Advisory
https://github.com/getkirby/kirby/releases/tag/3.7.5.2security-advisories@github.com
Third Party Advisory
https://github.com/getkirby/kirby/releases/tag/3.8.4.1security-advisories@github.com
Third Party Advisory
https://github.com/getkirby/kirby/releases/tag/3.9.6security-advisories@github.com
Third Party Advisory
https://github.com/getkirby/kirby/security/advisories/GHSA-q386-w6fg-gmgpsecurity-advisories@github.com
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/commit/277b05662d2b67386f0a0f18323cf68b30e86387
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.5.8.3
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.6.6.3
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.7.5.2
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.8.4.1
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/releases/tag/3.9.6
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://github.com/getkirby/kirby/security/advisories/GHSA-q386-w6fg-gmgp
Source: security-advisories@github.com
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

1Records found

CVE-2023-1288
Matching Score-4
Assigner-Dassault Systèmes
ShareView Details
Matching Score-4
Assigner-Dassault Systèmes
CVSS Score-6.8||MEDIUM
EPSS-0.08% / 25.55%
||
7 Day CHG~0.00%
Published-09 Mar, 2023 | 16:33
Updated-27 Feb, 2025 | 21:29
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
ENOVIA Live Collaboration V6R2013xE is affected by an XML External Entity injection (XXE) vulnerability

An XML External Entity injection (XXE) vulnerability in ENOVIA Live Collaboration V6R2013xE allows an attacker to read local files on the server.

Action-Not Available
Vendor-Dassault Systèmes S.E. (3DS)
Product-enovia_live_collaborationENOVIA Live Collaboration
CWE ID-CWE-611
Improper Restriction of XML External Entity Reference
Details not found