In this article, we’ll explain what gadget chains are and look at examples (with schemas) of how careless deserialization with native Java mechanisms can lead to remote code execution.

Intro

First, I’d like to briefly describe how I learned about the concept of a gadget chain attack.

I’m a part of the Java team at PVS-Studio, where one of our key responsibilities is developing new diagnostic rules. When we consider adding a new rule, we spend a lot of time on theoretical research. It’s necessary to thoroughly study problems that diagnostic rules must detect.

At the time of writing, we supplemented the Java analyzer with SAST warnings; they were inspired by different sources, including the OWASP Top Ten 2021. Within the [A08 — Software and Data Int…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help