Vulnerabilidades de FOSSBilling
CVEs publicadas que afetam produtos de FOSSBilling: 10 registro(s), com severidade, exploração e correções.
CVE-2026-43920
Média · 6.9
CWE-306 25/06/2026
FOSSBilling: Unauthenticated update patcher endpoint allows remote maintenance execution
FOSSBilling is a free, open-source billing and client management system. In versions 0.5.4 through 0.7.2, the /run-patcher maintenance endpoint in FOSSBilling was accessible without authentication, which allowed unauthenticated remote users to trigger update patch routines that modify configuration files, execute database schema changes, perform filesystem mutations, and clear caches. The /run-patcher endpoint executes privileged maintenance operations - configuration migrations, database patch execution (including ALTER TABLE, DROP TABLE, UPDATE statements), filesystem deletions and renames, and cache clearing - without requiring administrator authentication, CSRF validation, or CLI context. An unauthenticated remote attacker can trigger these operations by sending a simple HTTP GET request to /run-patcher, which can be abused for denial-of-service attacks. Certain patches (e.g., batch token regeneration for all admin and client accounts in patch 53, and session invalidation) are disruptive even when re-executed against an already-patched instance. Repeated or concurrent requests may also cause inconsistent database state. This issue has been fixed in version 0.8.0.
CVE-2026-33543
Crítica · 9.3
CWE-288 24/06/2026
FOSSBilling: bypass de autenticação no endpoint de criação de administrador para convidados
FOSSBilling é um sistema gratuito e de código aberto para cobrança e gestão de clientes. As versões 0.7.2 e anteriores expõem um endpoint de API de convidado, /api/guest/staff/create, destinado à configuração inicial do administrador. Devido a uma verificação falha da existência de administrador, o endpoint continua utilizável após a criação de um administrador. A verificação de guarda com falha usa is_countable() sobre um valor que retorna um objeto Model_Admin ou null, e não um tipo contável, fazendo a expressão ser sempre avaliada como verdadeira e contornando a proteção pretendida. Como resultado, um atacante pode alcançar o endpoint desprotegido para criar uma nova conta de administrador e autenticar-se imediatamente, obtendo uma sessão de administrador com privilégios totais mesmo quando já existe um administrador. Este problema foi corrigido na versão 0.8.0.
CVE-2026-27708
Alta · 7.1
CWE-284 24/06/2026
FOSSBilling: IDOR in Servicecustom Client API allows cross-client data access
FOSSBilling is a free, open-source billing and client management system. In versions 0.7.2 and prior, the Servicecustom Client API's __call method accepts an order_id parameter and fetches the associated order without verifying the authenticated client owns it, potentially exposing cross-client data through IDOR. An authenticated client can access any other client's custom service by guessing sequential order IDs. This can lead to a confidentiality breach — attackers can read client PII (name, email, phone, address, company details, VAT number) and service configuration data belonging to other clients. This issue has been fixed in version 0.8.0.
CVE-2026-23513
Alta · 7.1
CWE-863 23/06/2026
FOSSBilling: Broken Authorization in Client Transaction and Order Listings
FOSSBilling is a free, open-source billing and client management system. In versions 0.7.2 and prior, a query-construction flaw in client list endpoints allowed authenticated clients to bypass tenant scoping and retrieve other clients’ data. Details
In ServiceTransaction::getSearchQuery() and Order\Service::getSearchQuery(), OR-based search/action filters were appended without grouping, allowing SQL operator precedence to evaluate OR clauses independently of the enforced client_id constraint. Crafted requests could therefore return records and metadata belonging to other clients, including identifiers, amounts, status, timestamps, and related fields. This issue was fixed in version 0.8.0.
CVE-2025-64105
Média · 5.1
CWE-639 23/06/2026
FOSSBilling: IDOR Vulnerability in Support Ticket Creation
FOSSBilling is a billing and client management system that automates invoicing, payments, and communication for online service businesses. Versions 0.6.21 through 0.7.2 are vulnerable to IDOR through the support ticket creation workflow. By manipulating rel_id when rel_type=order, an authenticated client can create a support ticket that references another client's order they do not own. The ticketCreateForClient() method accepted rel_id without verifying order ownership for non-upgrade tasks, allowing clients to link a new ticket to another client's order by crafting the request. No cron task automatically processes cancel/upgrade requests from ticket relations; staff action is required. This affects integrity and confidentiality: staff could be misled into acting on the wrong order (e.g., cancellation or upgrade requests). While there is no client-to-client order data exposure, order IDs may appear in ticket context. This issue has been fixed in version 0.8.0.
CVE-2026-28496
Crítica · 9.4
Exploit público CWE-1336 23/06/2026
FOSSBilling: Server-Side Template Injection na renderização de templates Twig
FOSSBilling é um sistema gratuito e de código aberto para faturamento e gerenciamento de clientes. Versões anteriores à 0.8.0 possuem uma vulnerabilidade de Server-Side Template Injection (SSTI) no sistema de renderização de templates. Administradores com acesso a funcionalidades que renderizam templates Twig (templates de e-mail, campanhas de e-mail em massa, adaptadores de pagamento personalizados e o endpoint de API string_render) podem injetar expressões Twig arbitrárias, levando a divulgação de informações e execução remota de código. A vulnerabilidade existe porque os templates Twig são renderizados sem sandbox, permitindo acesso a todo o ambiente Twig, ao contexto da API e ao contêiner de injeção de dependências da aplicação. A versão 0.8.0 corrige o problema. Há algumas medidas de contorno disponíveis. Auditar os templates de e-mail existentes em busca de expressões Twig suspeitas, rotacionar todos os tokens de API de administradores e clientes, e/ou bloquear acesso externo a /api/system/* no proxy reverso/WAF para mitigar o encadeamento com GHSA-78x5-c8gw-8279.
CVE-2026-27604
Crítica · 10.0
Exploit público CWE-200 23/06/2026
FOSSBilling: bypass de autorização expõe endpoints privilegiados de sistema da API
O FOSSBilling é um sistema gratuito e de código aberto para cobrança e gestão de clientes. A partir da versão 0.5.4 e antes da versão 0.8.0, um bypass de autorização no tratamento de papéis da API permite acesso não autenticado a endpoints privilegiados /api/system/*. Como system resolve para a identidade de administrador do cron, atacantes podem invocar métodos administrativos da API sem credenciais válidas, sessão ou token CSRF. A versão 0.8.0 corrige o problema. Estão disponíveis algumas medidas de contorno: bloquear o acesso externo a /api/system/* no proxy reverso ou WAF, restringir o acesso à API somente a IPs confiáveis (api.allowed_ips), rotacionar imediatamente todos os tokens de API de administradores e clientes, invalidar sessões ativas e redefinir credenciais de alto privilégio, e/ou revisar os logs de requisições da API em busca de acessos suspeitos a /api/system/ e tratar o caso como potencial incidente.
CVE-2026-43926
Média · 6.3
CWE-204 04/06/2026
FOSSBilling's password reset confirmation endpoint lacks rate limiting
FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.0, the password reset confirmation endpoint `/client/reset-password-confirm/:hash` is handled by a non-API controller and is not covered by FOSSBilling's rate limiter, which only applies to `/api/*` routes. This allows an attacker to probe the endpoint for valid reset tokens without any per-IP request limiting, attempt counting, or lockout mechanism. The endpoint acts as an oracle, returning a distinguishable response for valid versus invalid tokens (HTTP 200 vs HTTP 302 redirect). An attacker can submit unlimited token guesses to the password reset confirmation endpoint with no throttling applied. However, practical exploitability is significantly mitigated by the current token generation, which uses `hash('sha256', random_bytes(32))`, providing 256 bits of entropy. Tokens also expire after 15 minutes and are deleted after successful use. The same architectural gap applies to other controller-served auth routes, including `/staff/email/:hash` (admin password reset confirmation) and `/client/confirm-email/:hash` (email confirmation). Version 0.8.0 fixes the issue. Some workarounds are available. Configure a reverse proxy (e.g., Nginx, Apache, Cloudflare) to apply per-IP rate limiting to the `/client/reset-password-confirm/*` and `/staff/email/*` paths and/or use a WAF rule to limit request rates to these endpoints.
CVE-2026-43924
Média · 4.8
CWE-601 03/06/2026
FOSSBilling has an open redirect via administrator-configured redirect targets
FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.0, the Redirect module does not validate the URL scheme of administrator-configured destination URLs before storing or issuing redirects. This allows arbitrary external URLs to be configured as redirect targets, creating an open redirect vulnerability exploitable for phishing attacks. Users following a legitimate FOSSBilling URL can be silently redirected to an attacker-controlled external site. The redirect is issued as a 301 (Moved Permanently) response, which browsers cache persistently, amplifying the impact. Exploitation requires administrator privileges to create or modify redirect entries, limiting practical attack scenarios to multi-admin environments or compromised admin accounts. Version 0.8.0 fixes the issue. Some workarounds are available. Restrict admin access to the Redirect module to trusted administrators only and/or audit existing redirect entries in the database (the `extension_meta` table with `extension = 'mod_redirect'`) for any unexpected or external target URLs.
CVE-2026-40495
Média · 6.9
CWE-200 03/06/2026
FOSSBilling version exposed via asset cache buster
FOSSBilling is a free, open-source billing and client management system. Versions prior to 0.8.0 leak the exact system version through asset cache buster parameters in HTML output, bypassing the `hide_version_public` security setting. The FOSSBilling version is embedded in the query string of every `<script>` and `<link>` tag generated by the `script_tag` and `stylesheet_tag` Twig filters. This information is visible to all visitors — including unauthenticated guests — on every page, regardless of whether the `hide_version_public` setting is enabled. The `X-FOSSBilling-Version` HTTP header and the `guest.system.version` API endpoint correctly honour the `hide_version_public` setting, but the asset cache buster parameters were overlooked. Knowledge of the exact FOSSBilling version makes it significantly easier for malicious actors to identify known vulnerabilities applicable to a given installation and craft targeted exploits. While not a direct vulnerability on its own, it undermines the intended protection offered by the `hide_version_public` setting and facilitates reconnaissance. Version 0.8.0 contains a patch. There is no practical workaround that removes the version from asset URLs without modifying source code.