pentesting, updated

Test upload of malicious files

Check whether an accepted file type can still carry a payload that executes or harms other users.

Goal

Confirm uploaded files can’t achieve code execution or harm other users even when the type itself is allowed.

How to test

For an allowed type that still shouldn’t be dangerous, test the angle that fits it:

What to look for

A file that executes (a webshell reachable and runnable), or triggers stored XSS/malware when another user opens or views it.

Notes

Also worth checking: does the app scan uploads for malware at all, and is the upload directory excluded from script execution?

References

§ home
~/knubertus/home/
1,1 Top