Website vulnerabilities of jiandong University Library

Source: Internet
Author: User

From the red black customer Alliance (www.7747.net), reprinted please indicate the source of this Article can communicate with the author: http://bbs.2cto.com/read.php? Tid = 88922 this is nothing technical. I just want to thank Xi Lai for his important and key requests ~
Code by Link
Site: www.link0day.cn
Today, when I was in a bad mood, I suddenly remembered that the 0day I promised to the key was not given.
So I had to go to the webmaster network and find a program to find out the program ~
I am not responsible for anything if I want to use shell to do bad things.
This vulnerability was discovered mainly because tOby57 affects him and points out thatHTTP_USER_AGENT to forge and construct a statement (the premise is related to the database ~ How can it be useful if it is simply to obtain and display it ?)
OriginalHttp://bbs.wolvez.org/topic/61/You are thinking about it .. I learned some php to use it this time.
Next time, I will send a php hole ~
The system does not exist.HTTP_USER_AGENT is not filtered
Just .... Go to the admin_conn.asp file and run the following code on lines 16-20:
Userip = Request. ServerVariables ("HTTP_X_FORWARDED_FOR ")
If userip = "" Then userip = Request. ServerVariables ("REMOTE_ADDR ")
// Our IP address will not be empty, so the following code will be executed as usual.
Set rs = Server. CreateObject ("ADODB. RecordSet ")
Rs. Open "select zuziip from [config] where zuziip like %" & zuziip & "%", conn, 1, 1

I used to think that this type of data is useless, but I read toboboy's article. I think that since it is the information obtained by the server on the client side, it means that the client can cheat the server side ~
I found an article on the Internet to modify the code, so we can make a mess ~ Html "target =_blank> http://www.cnblogs.com/kingthy/archive/2007/11/24/970783.html
Not to mention the bad mood ~ By the way, aspx is similar to asp, so you don't have to worry about using it. Instead, you can change the code to the appropriate one ~
Other codes are not found. I read this file, but I will try again later.
This system is quite strong ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.