Skip to content
XSS Write-up Beginner

Cappricio Securities Discovers CVE-2023–29489: A Cross-Site Scripting Vulnerability in Nokia’s cPanel

The cpsrvd error page in cPanel did not sanitise an invalid webcall ID, so an attacker could craft a request that ran JavaScript in a victim's session. This could let an attacker hijack sessions, steal data or deface pages, depending on the application and the victim's privileges.

Karthikeyan.V Follow

Published on infosecwriteups.com

Vulnerabilities pose significant risks to applications and their users. One such vulnerability is CVE-2023–29489, a cross-site scripting (XSS) flaw identified in cPanel versions prior to 11.109.9999.116.

Karthikeyan.V, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the cpsrvd error page reflected the invalid webcall ID into the response without sanitising it, allowing script to execute.

Impact

An attacker could run script in a victim's cPanel session, which could lead to session hijacking, data theft, defacement or malware delivery, with severity depending on the application and the victim's privileges.

What the attacker needed

CPanel older than 11.109.9999.116; victim opens a crafted request

The fix

The flaw was fixed in cPanel 11.109.9999.116 and later, and input should also be sanitised and validated on the server side.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Cross-site scripting means a website puts text from a user into a page without cleaning it, so that text can run as code in someone else's browser. Here the error page of cPanel, a web hosting control panel, echoed a bad request value back unsafely. An attacker who gets a logged-in user to open a crafted link could then act as that user.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Karthikeyan.V

View all

21 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.