Skip to content
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

PTMS

License

Author

Qerogram

Version

version version

Vulnerability

RCE(Remote Code Execution) via File Upload

Chains the three vulnerabilities below and uses them.

  1. Insecure Permission Check
    It does not check user permission when using the arbitrary file writing function.

  2. Arbitrary File Write Function
    Limited arbitrary file write function exists.(Possible extension, "html".)
    Arbitrary File Write

  3. Local File Include
    the error handling page with the extension "html" is loaded through the keyword "include".
    LFI

Therefore, we can overwrite the "404.html" file, which is an error handler page, with a webshell payload, as if overwriting the SEH handler code, and then invoke the error page to trigger an RCE vulnerability.
LFI



Reference

[1] Download WebApp from Vendor