Skip to content
SQL injection Write-up Intermediate

Shared License Or Crack Access To 1000 Servers

The author bought a cheap 'shared' LiteSpeed/cPanel licence and found the activation instructions ran third-party scripts that installed a backdoored LiteSpeed with a fixed admin password and redirected licence checks to the seller's servers. After finding SQL injection on the seller's site, the author obtained database access and could modify installer scripts that customer servers fetch and run blindly.

Shashwat Kumar Follow

Published on infosecwriteups.com

Actually, I wanted to buy Cpanel and LiteSpeed license for my hosting server so I searched on google and found some cheap providers saying shared license. Since Cpanel only accepts international credit cards and I didn’t have one so I searched for Indian providers on google.

Shashwat Kumar, 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 seller distributed activation scripts that fetched and executed remote files without integrity checks, and the seller's own website had SQL injection exposing its database and file system.

Impact

Customer servers that ran the seller's scripts could be controlled by anyone who could modify those scripts, and the seller's database of over a thousand active IPs was exposed.

What the attacker needed

Buy a cheap shared licence; run the seller's installer script; seller's site has SQL injection

The fix

Users should avoid cracked or shared licences and only install software from the official vendor; the seller's site should fix its SQL injection and stop distributing remote execution scripts.

How it was found

  1. Buy a cheap shared licence and follow the seller's activation instructions.
  2. Inspect the downloaded installer and find it fetches and runs further remote files.
  3. Decode the protected PHP to see it installs LiteSpeed with a fixed admin password and redirects licence traffic.
  4. Find SQL injection on the seller's related sites and extract a database of customer IPs.
  5. Use credentials found in the links to log into the seller's site and access its files.
  6. Place a reverse shell in an installer script that customer servers fetch and run.

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.

A person paid a low price for a software licence, but the seller's instructions told them to download and run a script from the seller's server. That script secretly installed the software with a known password and pointed it at the seller's own servers. Later, the seller's website had a database bug that let the author change those scripts, so every customer who ran them would run the author's code too.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by Shashwat Kumar

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.