*NetCat CMS Multiple Remote File Inclusion (RFI) Security Vulnerabilities* Exploit Title: NetCat CMS Multiple Remote File Inclusion (RFI) Security Vulnerabilities Product: NetCat CMS (Content Management System) Vendor: NetCat Vulnerable Versions: 3.12 3.0 2.4 2.3 2.2 2.1 2.0 1.1 Tested Version: 3.12 Advisory Publication: Feb 25, 2015 Latest Update: Feb 25, 2015 Vulnerability Type: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') [CWE-98] CVE Reference: * Credit: Wang Jing [CCRG, Nanyang Technological University (NTU), Singapore] *Advisory Details:* *(1) Vendor & Product Description:* *Vendor:* NetCat *Product & Version:* NetCat 3.12 3.0 2.4 2.3 2.2 2.1 2.0 1.1 *Vendor URL & Download:* NetCat can be downloaded from here, http://netcat.ru/ *Product Introduction:* NetCat.ru is russian local company. "NetCat designed to create an absolute majority of the types of sites: from simple "business card" with a minimum content to complex web-based systems, from corporate offices to online stores, libraries or media data - in other words, projects completely different directions and at any level of complexity. View examples of sites running on NetCat CMS can be in a special section." "Manage the site on the basis of NetCat can even inexperienced user, because it does not require knowledge of Internet technologies, programming and markup languages. NetCat constantly improving, adds new features. In the process of finalizing necessarily take into account the wishes of our partners and clients, as well as trends in Internet development. More than 2,000 studios and private web developers have chosen for their projects is NetCat, and in 2013 sites, successfully working on our CMS, created more than 18,000." *(2) Vulnerability Details:* NetCat has a security bug problem. It can be exploited by Remote File Inclusion (RFI) attacks. *(2.1)* The first vulnerability occurs at "/eshop/index.php?" page with "INCLUDE_FOLDER" parameter. *(2.2)* The second vulnerability occurs at "add.php?" page with "INCLUDE_FOLDER" parameter. *(2.3)* The third vulnerability occurs at "netcat/index.php?" page with "INCLUDE_FOLDER" parameter. *(2.4)* The forth vulnerability occurs at "s_loadenv.inc.php?" page with "INCLUDE_FOLDER" parameter. *(2.5) *The fifth vulnerability occurs at "*.pdf/index.php?" page with "INCLUDE_FOLDER" parameter. *References:* http://tetraph.com/security/remote-local-file-inclusion-vulnerability/netcat-cms-multiple-remote-file-inclusion-rfi-security-vulnerabilities/ http://securityrelated.blogspot.com/2015/02/netcat-cms-multiple-remote-file.html http://www.inzeed.com/kaleidoscope/computer-security/netcat-cms-multiple-remote-file-inclusion-rfi-security-vulnerabilities/ http://diebiyi.com/articles/%E5%AE%89%E5%85%A8/netcat-cms-multiple-remote-file-inclusion-rfi-security-vulnerabilities/ https://itinfotechnology.wordpress.com/2015/02/25/netcat-cms-multiple-remote-file-inclusion-rfi-security-vulnerabilities/ http://lists.kde.org/?a=139222176300014&r=1&w=2 -- Wang Jing, Division of Mathematical Sciences (MAS), School of Physical and Mathematical Sciences (SPMS), Nanyang Technological University (NTU), Singapore. http://www.tetraph.com/wangjing/ https://plus.google.com/u/0/+JingWang-tetraph-justqdjing/posts