←
PentesterLab11,028 posts
PentesterLab avatar

PentesterLab

@PentesterLab

Don’t just learn tools and payloads. Learn why vulnerabilities exist. Hands-on web hacking, security code review, and real-world CVE labs.

◷ Joined December 2011▧ 341 Photos and videos
PentesterLab avatar
PentesterLab@PentesterLab·3h

We recently came across this snippet as part of our CVE review process What would you flag during a security code review?

Post attachment
PentesterLab avatar
PentesterLab@PentesterLab·Nov 13

Why use ../../ when ../ is enough... The check looks reasonable: /../ means someone is walking up the path, let's return a 404! But do you really need ../../: request $page verdict --------------------------------------------------------- /static/../../../𝗲𝘁𝗰/𝗽𝗮𝘀𝘀𝘄𝗱   ../../../𝗲𝘁𝗰/𝗽𝗮𝘀𝘀𝘄𝗱 BLOCKED /static/../munin.conf ../munin.conf PASSES The first / gets consumed by the first regular expression, so $page is ../munin.conf and doesn't contain /../ but it still allows you to get what matters... Sometimes, you don't need a full directory traversal... just one directory up is all it takes.

Post attachment
0xZezo249 avatar
⟳ PentesterLab retweeted
0xZezo249@Abuzar_0x·Nov 13

Threat modeling badge !

All the labs in our threat modelling badge are now available! We built this badge around practical, high leverage skills that help you spot potential threats and ask better security questions when designing, developing or using AI to build your next application. pentesterlab.com/badges/thre…

PentesterLab avatar
PentesterLab@PentesterLab·Nov 12

All the labs in our threat modelling badge are now available! We built this badge around practical, high leverage skills that help you spot potential threats and ask better security questions when designing, developing or using AI to build your next application. pentesterlab.com/badges/thre…

PentesterLab avatar
PentesterLab@PentesterLab·Nov 12

Stranger Strings. Some inputs open doors to another dimension. Others open a reverse shell. Which one scares you more?

Post attachment
PentesterLab avatar
PentesterLab@PentesterLab·Nov 12

Sometimes, doing code review is just as easy as playing spot the difference... Two handlers, same file, 40 lines apart. Same auth decorator, so both need a valid login. Both read current_user_id. Both read group_id from the request body. One asks whether you're allowed to see that group. One doesn't. You don't need to have in-depth understanding of Python, authorisation logic or code review. You just need the right idea: "Are all those functions checking the same thing, if not, what is the security impact?" CVE-2026-121552

Post attachment
joao tonetto avatar
⟳ PentesterLab retweeted
joao tonetto@kerberoasting·Nov 9

Watching DEFCON talks, I heard about PentesterLab and decided to give it a try. Coming from HTB and THM, I found it way more educational. The labs are realistic and quick, but the code review videos are the real game changer for understanding API workflows behind the scenes.

𝘻𝘰𝘪𝘥𝘴𝘦𝘤 avatar
⟳ PentesterLab retweeted
𝘻𝘰𝘪𝘥𝘴𝘦𝘤@z0idsec·Nov 9

If you're wanting to level up your code review skills, I would highly recommend @PentesterLab's on demand training, I've completed the training and the amount of information covered is insane and you learn techniques from an industry veteran @snyff. pentesterlab.com/training/

PentesterLab avatar
PentesterLab@PentesterLab·Nov 9

Would you rather only be allowed to pentest using Nikto, or only be allowed to pentest Perl applications?

PentesterLab avatar
PentesterLab@PentesterLab·Nov 9

If you use a whole package for one small helper, consider the updates, maintenance and trust you take on. Removing unused functionality or replacing a tiny helper with simpler, tested code you can maintain may be worthwhile. pentesterlab.com/blog/brace-…