VYPR
Unrated severityNVD Advisory· Published Sep 5, 2018· Updated Aug 5, 2024

CVE-2018-15678

CVE-2018-15678

Description

A reflected XSS vulnerability exists in the sign-up page of XBTIT 2.5.4 via the 'act' parameter, allowing attackers to inject arbitrary JavaScript.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A reflected XSS vulnerability exists in the sign-up page of XBTIT 2.5.4 via the 'act' parameter, allowing attackers to inject arbitrary JavaScript.

Vulnerability

A reflected cross-site scripting (XSS) vulnerability exists in BTITeam XBTIT version 2.5.4. The act parameter in the sign-up page, accessible at /index.php?page=signup, is not properly sanitized, allowing injection of arbitrary HTML and JavaScript into the response. The application includes an anti-XSS filter in includes/crk_protection.php that blocks strings like .cookie, but the filter can be bypassed using String.replace with eval to reconstruct blocked strings [1].

Exploitation

An attacker can exploit the vulnerability by crafting a malicious URL containing XSS payload in the act parameter. The attacker does not need authentication; the victim need only visit the crafted URL. The payload can bypass the built-in filter by using JavaScript techniques such as splitting dangerous strings with a harmless character and then reconstructing them using replace and eval, as demonstrated with eval(/a~lert(do~cu~me~nt~.c~oo~k~ie)/.toString().replace(/~/g, '').slice(1,-1)) [1].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser session. This enables actions such as stealing session cookies, defacing pages, or performing actions on behalf of the victim without their consent. Since the vulnerability is reflected, it is typically used in social engineering attacks (e.g., phishing) to lure users to the crafted link [1].

Mitigation

No official patch has been released as of the publication date (2018-09-05). The vendor has not addressed the issue in the available references. Users are advised to upgrade to a later, patched version if available, or to apply input validation and output encoding to the act parameter manually. Until a fix is deployed, administrators can consider using a web application firewall (WAF) to block malicious payloads targeting the sign-up page [1].

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"The `act` parameter in the sign-up page is reflected in the HTML response without proper sanitization or encoding, enabling reflected cross-site scripting."

Attack vector

An attacker crafts a URL containing a malicious payload in the `act` parameter, such as `%22%3E%3Cimg%20src=x%20onerror=...` which decodes to `">

Affected code

The vulnerability is in the sign-up page at `/index.php?page=signup`. The `act` parameter is echoed back into the page without proper sanitization, allowing an attacker to inject arbitrary HTML and JavaScript [ref_id=1].

What the fix does

The advisory states that users should update to the version that supersedes 2.5.4 or apply the referenced patch [ref_id=1]. No patch diff is provided in the bundle, so the specific code changes are not available. The fix would involve properly encoding or sanitizing the `act` parameter before rendering it in the HTML response to prevent script injection.

Preconditions

  • authThe victim must be logged into XBTIT (authenticated user)
  • inputThe attacker must trick the victim into visiting a crafted URL
  • configThe application must be XBTIT version 2.5.4

Reproduction

Send a GET request to `/index.php?page=signup&act=%22%3E%3Cimg%20src=x%20onerror=%22eval(/a~lert(do~cu~me~nt~.c~oo~k~ie)/.toString().replace(/~/g,%20%27%27).slice(1,-1))%22%3E%3C%22` while authenticated. The payload will execute in the victim's browser, demonstrating reflected XSS [ref_id=1].

Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

2

News mentions

0

No linked articles in our index yet.