Jump to content

Recommended Posts

http://www.sinisa.milicevici.com/real_estate/admin/admin.php

 

I know you try to be 1337 and re-direct us, but I am 1337'er and use the stop button (or I could have used a program etc..) So what I am saying is the admin area isn't secure. (Oh, and to prove a point I deleted a user.. sorry)

 

To fix this just set a $_SESSION['admin']; or something with they login, and when someone visits the page do a check... for that session == a username, or alterative make it a field in the table "admin" and add yes next to your username.. etc..

 

also: xss http://www.sinisa.milicevici.com/real_estate/details.php?id=16

 

 

p.s. on the front page you have: http://www.sinisa.milicevici.com/real_estate/faq.php

a link to that but it does not exist.

Link to comment
https://forums.phpfreaks.com/topic/58957-one-real-estate-site/#findComment-292572
Share on other sites

Admin Access:

Anyone can access the admin panel by preventing the page from redirecting.

 

Cross Site Scripting:

http://sinisa.milicevici.com/cgi-sys/scgiwrap/<marquee><h1>vulnerable</marquee>

 

Cross Site Scripting:

http://sinisa.milicevici.com/phpinfo.php?<script>alert('vulnerable')</script>

 

Cross Site Scripting:

http://sinisa.milicevici.com/real_estate/details.php?id=<marquee><h1>vulnerable</marquee>

 

Cross Site Scripting:

There is Cross Site Scripting when you register if the fields contain code.

 

DOS:

http://www.sinisa.milicevici.com/real_estate/admin/admin.php/

 

Drop Down Menu:

If you edit the drop down menu on the Listing page you can submit arbitrary values.

 

Full Path Disclosure:

http://sinisa.milicevici.com/cgi-sys/scgiwrap/

 

Full Path Disclosure:

http://sinisa.milicevici.com/phpinfo.php

 

Full Path Disclosure:

http://sinisa.milicevici.com/real_estate/details.php?id[]

 

Full Path Disclosure:

http://sinisa.milicevici.com/real_estate/members/feature_it.php?id[]

 

Full Path Disclosure:

http://sinisa.milicevici.com/real_estate/members/pictures_edit.php?id[]

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/zoranm/public_html/sinisa/real_estate/members/pictures_edit.php on line 75

 

Full Path Disclosure:

There is Full Path Disclosure if you set the PHPSESSID cookie to an invalid value.

Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /home/zoranm/public_html/sinisa/real_estate/admin/index.php on line 2

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/zoranm/public_html/sinisa/real_estate/admin/index.php:2) in /home/zoranm/public_html/sinisa/real_estate/admin/index.php on line 2

 

Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0

 

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

 

Full Path Disclosure:

There is Full Path Disclosure if you upload an invalid image.

Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home/zoranm/public_html/sinisa/real_estate/members/pictures.php on line 137

 

Warning: imagecreatefromjpeg(): 'uploads/big/invalid.jpg' is not a valid JPEG file in /home/zoranm/public_html/sinisa/real_estate/members/pictures.php on line 137

 

Warning: imagesx(): supplied argument is not a valid Image resource in /home/zoranm/public_html/sinisa/real_estate/members/pictures.php on line 145

 

Warning: imagesy(): supplied argument is not a valid Image resource in /home/zoranm/public_html/sinisa/real_estate/members/pictures.php on line 146

 

Warning: Division by zero in /home/zoranm/public_html/sinisa/real_estate/members/pictures.php on line 150

 

Warning: imagecreatetruecolor(): Invalid image dimensions in /home/zoranm/public_html/sinisa/real_estate/members/pictures.php on line 151

 

Full Path Disclosure:

There is Full Path Disclosure on the admin page.

 

User Enumeration:

http://sinisa.milicevici.com/~root

 

User Enumeration:

http://sinisa.milicevici.com/~zoranm

Link to comment
https://forums.phpfreaks.com/topic/58957-one-real-estate-site/#findComment-292579
Share on other sites

Ok, guys, you are good and FAST.

Please let me know how to solve this big problem?

Also, one(?) field in form for adding properties wasn't secure... i will see...

Thank you very much, but now i am desperate  :'(

So, what to do, just to put die(); instead of redirection?

Thank you very much!

Link to comment
https://forums.phpfreaks.com/topic/58957-one-real-estate-site/#findComment-292583
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.