SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Open Searchable Image Catalogue: XSS and SQL Injection Vulnerabilities


Arrow  SecurityAlert : 1014
Arrow  CVE : CVE-2006-2751
Arrow  CVE : CVE-2006-2750
Arrow  CVE : CVE-2006-2749
Arrow  CVE : CVE-2006-2748
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : enji seclab tuwien ac at
Arrow  Published : 03.06.2006

Arrow  Affected Software : Open Searchable Image Catalogue 0.7 and prior.



Arrow  Advisory Content :  

===========================================================

Open Searchable Image Catalogue: XSS and SQL Injection Vulnerabilities

===========================================================

Technical University of Vienna Security Advisory

TUVSA-0605-001, May 30, 2006

===========================================================

Affected applications

----------------------

Open Searchable Image Catalogue (http://cosp.wordpress.com/tag/osic,
http://sourceforge.net/projects/osic-win)

Versions 0.7 and prior.

Description

------------

There are a number of cross site scripting (XSS) vulnerabilities that are
caused by the second echo statement in function do_mysql_query (core.php,
line 544). If a database query fails for some reason, the query is
reflected back to the user. Here are a few points where this situation can
be exploited (if register_globals is active and if the current user is
logged in as admin):

adminfunctions.php, line 531

http://localhost/osic07/admin.php?action=manageusers&username=neweviluse
r&password=xyz&confpass=xyz&realname='&type=<script>alert('hi')</script>

adminfunctions.php, line 561

http://localhost/osic07/admin.php?action=manageusers&id=777&username=new
eviluser&password=xyz&confpass=xyz&realname='&type=<script>alert('hi')</
script>

editcatalogue.php, line 523

http://localhost/osic07/admin.php?action=editcatalogue&op=additems&catal
ogue_id='<script>alert('hi')</script>&uploaded=true&submit=true&AddRemai
ning=true

[there has to be at least one file with a valid extension in the uploads
directory]

editcatalogue.php, line 581

http://localhost/osic07/admin.php?action=editcatalogue&op=additems&catal
ogue_id=777&uploaded=true&submit=true&catalogue_id='<script>alert('hi')<
/script>

The above vulnerabilities are also SQL Injection vulnerabilities.

Some analogous cases in search.php:

search.php, line 120:

The $query variable can contain malicious user input due to the assignments
on lines 90-112.

search.php, line 152:

$cf_query is tainted by $cfid, which is tainted by $tempCustomFieldID,
which is tainted by $HTTP_POST_VARS (line 138).

search.php, lines 243-250:

There are calls to getValueFromID with $item_list as parameter, which can
be controlled by an attacker.

Solution

---------

The authors have responded to our message quickly and have released version
0.7.0.1, which fixes the above issues.

Timeline:

March 30, 2006:

- Vulnerabilities reported to Chris Goerner.

- Response and release of fixed version.

- Advisory submission.

References

-----------

http://www.seclab.tuwien.ac.at/advisories/TUVSA-0605-001.txt

Nenad Jovanovic

Secure Systems Lab

Technical University of Vienna

www.seclab.tuwien.ac.at





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.