Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
June 21, 2018
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: HousepfReviews2
New Today: 0
New Yesterday: 0
Overall: 9160

People Online:
Visitors: 622
Members: 0
Total: 622
PacketStorm News
Currently there is a problem with headlines from this site
[waraxe-2004-SA#021] - Multiple vulnerabilities in phprofession 2.5 module for PostNuke





Author: Janek Vind "waraxe"
Date: 21. April 2004
Location: Estonia, Tartu
Web: http://www.waraxe.us/index.php?modname=sa&id=21


Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

phprofession 2.5
by Aidan Peiser
Recruitment module for PN.712
www.phpsolutions.co.uk
https://sourceforge.net/projects/profession/

Vulnerabilities:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A. Full path disclosure:

If we make http request like this:

http://localhost/postnuke0726/modules/phprofession/upload.php

we will provoke php error messages:

Warning: main(header.php): failed to open stream: No such file or directory in D:apache_wwwrootpostnuke0726modulesphprofessionupload.php on line 19
Warning: main(): Failed opening 'header.php' for inclusion (include_path='.;c:php4pear') in D:apache_wwwrootpostnuke0726modulesphprofessionupload.php on line 19
...


B. Cross-site scripting aka XSS:

Unsanitaized variable "jcode" will open a way to exploit the XSS in phprofession:

http://localhost/postnuke0726/modules.php?op=modload&name=phprofession&file=upload&jcode=[xss code here]

Remark: successful exploiting of the XSS on PostNuke is possible only, if special measures to evade the
XSS filters are used.



C. Sql injection:


Typical sql injection case, where injection occurs after ORDER BY keywords. This time the "weak point"
is the vaiable "offset", but i have seen many scripts, where unsanitaized "limit" variable gets
passed to sql query too. Good thing for webmasters (and bad for attackers) is, that in case of MySql
version <= 4.0 there is no practical way to exploit this sql injection, other than failing it.
Reason is, that after the "ORDER BY" keywords we can't use "UNION" and any other "useful" things.
But in near future, when MySql version 4.1 will be in use, new feature will be present -
subselects. And then can be possible using of the "half-blind" and "blind" methods to pull out
any information from database, and that's WITHOUT "union" keyword.
What's the point? Point is, that this sql injection is in this moment non-critical, but it's
needed to fix as soon as possible.

http://localhost/postnuke0726/modules.php?op=modload&name=phprofession&file=index&offset=foobar

Error in query:
SELECT phpro_joblisting.designation, phpro_joblisting.jcode, phpro_joblocation.location,
phpro_jobsalary.salary, phpro_joblisting.posted
from
phpro_joblisting, phpro_joblocation, phpro_jobsalary
WHERE phpro_joblisting.checked= 1
AND phpro_joblocation.id = phpro_joblisting.fk_location
AND phpro_jobsalary.id = phpro_joblisting.fk_salary
AND DATE_ADD(posted, INTERVAL 80 DAY) > now()
order by posted desc limit foobar,20.
You have an error in your SQL syntax. Check the manual that corresponds to your
MySQL server version for the right syntax to use near 'foobar,20' at line 13




Greetings:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greets to torufoorum members and to all bugtraq readers in Estonia! Tervitused!
Special greets to UT Bee Clan members at http://bees.tk ! "Hold this position!" ;)



Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

come2waraxe@yahoo.com
Janek Vind "waraxe"

Homepage: http://www.waraxe.us/

---------------------------------- [ EOF ] ------------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2005-01-06 (11041 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2407
vince213333  vince213333 - 737
pexli  pexli - 665
Mullog  Mullog - 539
demon  demon - 485
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 375
tsabitah  tsabitah - 328
y3dips  y3dips - 281
SecurityFocus
·Vuln: Oracle Java SE CVE-2015-4860 Remote Security Vulnerability
·Vuln: Oracle Java SE CVE-2015-4872 Remote Security Vulnerability
·Vuln: Oracle Java SE CVE-2015-4911 Remote Security Vulnerability
·Vuln: Oracle Java SE CVE-2015-4903 Remote Security Vulnerability
·Bugtraq: [SECURITY] [DSA 3413-1] openssl security update
·Bugtraq: [SECURITY] [DSA 3412-1] redis security update
·Bugtraq: [security bulletin] HPSBGN03525 rev.1: HP Performance Center Virtual Table Server, Remote Code Execution
·Bugtraq: ESA-2015-171 EMC NetWorker Denial-of-service Vulnerability
·More rss feeds from SecurityFocus

read more...
alexa



Hard drive recovery - Game Cheats - Book Reviews - Cisco VPN error 412
Harry Potter - Book Reviews - Old Science Books Online - Biographies Online Database
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2013 Janek Vind "waraxe"
Page Generation: 0.066 Seconds