Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/capivara-research/cve-2026-108924
Vulnerability AnalysisExploitationWeb SecurityLearning & Education
GitHubcapivara-research/cve-2026-108924

CVE-2026-108924

Safe PHP proof of concept and technical analysis for CVE-2026-108924, an authorization bypass in Kirby CMS dynamic field options that discloses restricted model metadata.

查看仓库
23天前尚未审核
分享
网站
内容在请求的语言中不可用。显示英文版本。

CVE-2026-108924 — Kirby dynamic field-option authorization bypass

English | Português do Brasil

CVE VulDB Submit

Safe proof of concept and technical analysis for an authorization bypass in Kirby CMS. Query-backed Panel fields can render metadata from models the current user is not permitted to list or access.

The issue was researched and reported by Fernando Viana (capivara-research). VulDB accepted submission #997196, created VDB-416748, assigned CVE-2026-108924, and credits Fernando Viana as reporter.

At a glance

ItemDetail
VulnerabilityRestricted model metadata disclosed in dynamic field options
ComponentKirby\Option\OptionsQuery::resolve()
Filesrc/Option/OptionsQuery.php
WeaknessesCWE-285, CWE-639
AttackerAuthenticated Panel user with limited permissions
User interactionNone
Official severityMedium — CVSS 4.0 5.3 / CVSS 3.1 4.3
Official affected rangeKirby 4.9.0–4.9.5 and 5.5.0–5.5.3
Official fixed versions4.9.6 and 5.6.0
Local observationThe supplied PoC also reproduced on 5.6.0 and 5.6.1

Important version-range discrepancy

The official CVE record lists Kirby 4.9.6 and 5.6.0 as unaffected. However, the synthetic reproducer in this repository was executed locally against Composer-installed 5.5.3, 5.6.0, and 5.6.1; all three exposed the restricted marker.

This repository therefore distinguishes between:

  • Official CVE metadata: affected through 4.9.5/5.5.3, fixed in 4.9.6/5.6.0.
  • Independent laboratory evidence: the tested dynamic OptionsQuery path remained reproducible in 5.6.0 and 5.6.1.

The latter is a test result, not an unsupported expansion of the official range. Vendor/CNA review is needed to reconcile the records. See validated results.

What the feature does

Kirby blueprints can populate fields such as select, multiselect, checkboxes, and radio from a query:

fields:
  related:
    type: select
    options:
      type: query
      query: site.index

The Panel needs a text/value pair for every result. OptionsQuery::resolve() executes the query and maps each returned model into an option. Page defaults include its title and ID; file and user defaults can similarly include identifying metadata.

Root cause

The authorization boundary and option-generation path are separate:

limited Panel user
  -> opens an allowed form
  -> query evaluates site.index
  -> result includes a restricted page
  -> OptionsQuery::resolve() maps every result
  -> restricted title and ID become option text/value
  -> Panel user receives metadata they cannot list or access directly

In the tested path, the collection returned by the query is converted into options without filtering each model through the current user's list/access permissions.

The security assertion is not merely that a secret model exists in site.index. The PoC establishes both sides under the same user:

  1. secret->isListable() is false.
  2. secret->isAccessible() is false.
  3. The rendered form options still contain the secret title and ID.

Preconditions and limits

  • The attacker needs an authenticated Panel account.
  • That account must be able to open a form containing a query-backed option field.
  • The configured query must return a model hidden from that account.
  • The disclosed data depends on the option templates. Defaults disclose identifiers such as page title/ID; custom text, value, info, or icon templates may expose other model properties.
  • This PoC demonstrates metadata disclosure. It does not claim unauthorized writes, privilege escalation, arbitrary file reads, or code execution.

Safe PoC

The reproducer constructs a synthetic Kirby application entirely in memory. It creates:

  • an editor role;
  • one visible page with a query-backed select field;
  • one page whose access and list permissions are denied to that role;
  • one limited synthetic user;
  • a controlled marker used only to detect disclosure.

It makes no HTTP requests, needs no live Panel session, reads no production content, and performs no persistent write.

Run it against a local Plainkit tree:

php poc.php /path/to/kirby-plainkit

Expected vulnerable assertion:

"secret_listable": false
"secret_accessible": false
"restricted_option_disclosed": true
[VULNERABLE] restricted model metadata was rendered as a field option

Exit codes:

CodeMeaning
1Restricted metadata was disclosed; vulnerable behavior reproduced
0Restricted metadata was not disclosed
2Usage or laboratory setup error

Reproducible Docker run

docker build --build-arg KIRBY_VERSION=5.5.3 -t cve-2026-108924:5.5.3 .
docker run --rm cve-2026-108924:5.5.3

The container exits with 1 when the security regression is found. This is intentional so the PoC can be used as a CI regression test.

To verify the recorded discrepancy with the same harness:

docker build --build-arg KIRBY_VERSION=5.6.0 -t cve-2026-108924:5.6.0 .
docker run --rm cve-2026-108924:5.6.0

docker build --build-arg KIRBY_VERSION=5.6.1 -t cve-2026-108924:5.6.1 .
docker run --rm cve-2026-108924:5.6.1

Why this differs from the related stored-value advisory

The related GHSA-8r9g-hhm3-5jfh concerns permission checks when files, pages, and users fields resolve values that are already stored, plus related dialogs and breadcrumbs. CVE-2026-108924 concerns dynamic option generation through OptionsQuery::resolve() for fields such as select, multiselect, checkboxes, and radio.

AspectStored-value advisoryCVE-2026-108924
TriggerResolve a previously stored model referenceBuild options from a blueprint query
Main pathModel fields and related Panel viewsFieldOptions → OptionsQuery::resolve()
Exposed objectReferenced stored valueAny restricted model returned by the query
PoC fieldNot applicable hereQuery-backed select

Remediation and defensive guidance

Follow vendor guidance and upgrade to a supported Kirby version. Because the supplied PoC reproduced beyond the official fixed 5.x version, administrators with affected blueprint patterns should also run the regression test in a local copy of their exact release and configuration.

At code level, query results that represent permission-aware models should be filtered before their properties are converted into options. Regression coverage should include:

  • pages, files, and users;
  • select, multiselect, checkboxes, and radio fields;
  • default and custom option templates;
  • mixed collections and direct Options results;
  • positive controls for visible models and negative controls for restricted models.

As a temporary configuration-level mitigation, avoid query-backed fields whose result set can include models hidden from the roles allowed to open the form. This reduces exposure but is not a replacement for a code-level authorization check.

Repository map

.
├── README.md
├── README.pt-BR.md
├── poc.php
├── Dockerfile
├── evidence/
│   └── validated-results.md
├── SECURITY.md
└── LICENSE

Timeline

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    806
  • 3

    wifit3

    derv82/wifit3

    Wifite 但仅限 USB 且跨平台。

    635
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    454
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer是一个开源的特权访问管理(PAM)平台,为DevOps和IT团队提供通过Web浏览器按需安全访问SSH、RDP、Kubernetes、数据库和RemoteApp端点的能力。

    434
  • 6

    SafeLine

    chaitin/safeline

    自托管WAF和反向代理,可过滤恶意HTTP流量、阻止SQL注入、XSS和机器人攻击,具备速率限制和动态HTML/JS加密功能。

    384

探索所有工具

浏览我们的工具集合

查看所有工具 →