Question 360
At fictional Goldhaven Robotics, a software-security team is conducting a secure acquisition and deployment review without interrupting essential service availability. The case observation is: An audio-processing service interpolates an uploaded filename into a shell command without argument separation. The team must select a defensible control or assessment. Which repeatable engineering safeguard would most directly reduce recurrence?
Explanation
Writer-proposed answer: D (UNVERIFIED)
Preliminary individual option explanations — NOT expert validated
Correct Answer
Separating program arguments from shell parsing prevents attacker-controlled text from becoming command structure. Metacharacter filenames are processed as literal data and cannot execute additional commands.
Incorrect Answers
This response concerns output encoding for html. Here, an audio-processing service interpolates an uploaded filename into a shell command without argument separation. The confirming evidence is: Metacharacter filenames are processed as literal data and cannot execute additional commands.
Ssrf in url preview concerns a different operational mechanism. Separating program arguments from shell parsing prevents attacker-controlled text from becoming command structure.
Focusing on parameterized database queries would leave this problem unresolved: An audio-processing service interpolates an uploaded filename into a shell command without argument separation.