Byte CMS Cross Site Scripting Vulnerabilities

About the software

Byte CMS is a commercial content management system developed by BitsnBytes.

Vulnerability Details

projectzero labs identified a cross site scripting vulnerability in many variables of the Byte CMS software, which allows an attacker to execute a dynamic script (e.g. JavaScript) in the context of the application. This allows several attack opportunities, mostly hijacking the current session of the user or changing the look of the page by changing the HTML on the fly to steal the user’s credentials. This happens because the user input is interpreted as HTML/JavaScript by the browser.

Cross-site scripting targets the users of an application instead of the server. Although this is a limitation, since it allows attackers to hijack other users’ sessions, an attacker could target an administrator in order to gain full control over the application.

Proof Of Concept

The cross site scripting vulnerability was found in many variables e.g. id, cid, images etc. The security issue might exist in additional variables but wasn’t verified due to the nature of the audit (black-box). We must mention that the CMS applies a typical XSS filtering that can be easily bypassed.

As proof of concept we provide some of the vulnerable sites with the XSS payload trigger:'"--></style></scRipt><scRipt>alert(0x0000DB)</scRipt>'"--></style></scRipt><scRipt>alert(0x0000BC)</scRipt>'"--></style></scRipt><scRipt>alert(0x000104)</scRipt>&w=300&h=23&a=0'"--></style></scRipt><scRipt>alert(0x000202)</scRipt>'"--></style></scRipt><scRipt>alert(0x000202)</scRipt>'"--></style></scRipt><scRipt>alert(0x000139)</scRipt>'"--></style></scRipt><scRipt>alert(0x00016B)</scRipt>&article=704&action=edit'"--></style></scRipt><scRipt>alert(0x000361)</scRipt>




Filippos Mastrogiannis

Disclosure Timeline

Vendor Contact: 23/12/2013 (Contacted vendor in person)
09/01/2014 (1st email – no response about the fix)
15/01/2014 (2nd email – no response about the fix)
02/03/2014 (Email to the site owners)
02/03/2014 Public Disclosure

External Links

≈ Packet Storm

Comments are closed.