Welcome to the Linux Foundation Forum!

Lab 5.2 OS Command injection Quiz answer options

Hi guys,

In the Quiz for section 5.2, I think the current "correct" answer is not the correct answer for the question.

The question is:
Which coding practice can lead to OS command injection vulnerability?

and the current correct answer is:
Proper input validation and sanitation.

I think the question needs to be update to something like:
Which coding practice can help to prevent OS command injection vulnerability?

to match the current question, or make:

"Use of functions that directly execute commands without proper validation or escape mechanisms" the correct answer.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Came here to point the same mistake.
    Correct answer should be "Use of functions..."

  • I agree, the current "correct" answer is wrong:

  • Posts: 2,251

    Hi @saschpe

    Thank you for flagging this. It has been updated.

    Regards,
    Flavia
    Linux Foundation Education

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training