Forum Discussion
JWhit101
Bronze II
2 months agoWeb App Hacking (Lab series): CVE-2022-42889 (Text4Shell) – Offensive
Hey all, Anyone have any luck with CVE-2022-42889 (Text4Shell) – Offensive? The first few questions were easy enough, but I have spent hours on the last one trying to get the token. On the attack...
- 28 days ago
I was also now able to complete this lab using a browser, or using curl in a terminal, both work just as well.
By combining the Payload Example in the briefing and the reverse shell command in the referenced blog, I created the new payload. I think the key that prevented success for a long time, was that when using CyberChef to URL encode it, you MUST encode all special characters!
Good luck!
J
JWhit101
Bronze II
29 days agoxchenoh I'm not sure that this was the point of the lab, but I ended up getting the token by using metasploit since it was installed in the VM. I configured the various options for exploit/multi/http/apache_commons_text4shell and was able to successfully get a reverse shell and read the token.