Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-38490— Kirby XML External Entity (XXE) vulnerability in the XML data handler

Quick assessment

Affected
getkirby kirby
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Kirby是一套基于文件的内容管理系统(CMS)。 Kirby 3.5.8.2版本及之前版本、3.6.0到3.6.6.2版本 、3.7.0到3.7.5.1版本、3.8.0到3.8.4版本、3.9.0到3.9.5版本存在安全漏洞,该漏洞源于Kirby 的Xml::parse()方法使用了 PHP 的LIBXML_NOENT常量,这使得在解析操作期间能够处理 XML 外部实体。

CVSS 6.8 · Medium EPSS 1.70% · P76
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-38490

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Kirby XML External Entity (XXE) vulnerability in the XML data handler
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
XML外部实体引用的不恰当限制(XXE)
Source: CVE Program / CVE List V5
Vulnerability Title
Kirby 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Kirby是一套基于文件的内容管理系统(CMS)。 Kirby 3.5.8.2版本及之前版本、3.6.0到3.6.6.2版本 、3.7.0到3.7.5.1版本、3.8.0到3.8.4版本、3.9.0到3.9.5版本存在安全漏洞,该漏洞源于Kirby 的Xml::parse()方法使用了 PHP 的LIBXML_NOENT常量,这使得在解析操作期间能够处理 XML 外部实体。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getkirby kirby < 3.5.8.3 -

II. Public POCs for CVE-2023-38490

# POC Description Source Link Shenlong Link
1 Kirby < 3.9.6 XML External Entity exploit https://github.com/Acceis/exploit-CVE-2023-38490 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-38490

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-38490 (1)

Vendor Advisories for CVE-2023-38490 (1)

Other References for CVE-2023-38490 (5)

Same Patch Batch · getkirby · 2023-07-27 · 5 CVEs total

CVE-2023-38489 7.3 HIGH Kirby vulnerable to Insufficient Session Expiration after a password change
CVE-2023-38488 7.1 HIGH Kirby vulnerable to field injection in the KirbyData text storage handler
CVE-2023-38491 5.7 MEDIUM Kirby vulnerable to Cross-site scripting (XSS) from MIME type auto-detection of uploaded f
CVE-2023-38492 5.3 MEDIUM Kirby vulnerable to denial of service from unlimited password lengths

IV. Related Vulnerabilities

V. Comments for CVE-2023-38490

No comments yet


Leave a comment