exam questions

Exam 312-39 All Questions

View all questions & answers for the 312-39 exam

Exam 312-39 topic 1 question 81 discussion

Actual exam question from ECCouncil's 312-39
Question #: 81
Topic #: 1
[All 312-39 Questions]

Which of the following attack can be eradicated by disabling of "allow_url_fopen and allow_url_include" in the php.ini file?

  • A. File Injection Attacks
  • B. URL Injection Attacks
  • C. LDAP Injection Attacks
  • D. Command Injection Attacks
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Man_San
1 year, 1 month ago
Selected Answer: A
the answer is A.File Injection Attacks. Attackers use scripts to inject malicious files into the server, allowing them to exploit vulnerable parameters and execute malicious code. This kind of attack enables temporary data theft and data manipulation and can provide attackers with persistent control of the server. Following are different ways to eradicate file injection attacks: o Strongly validate user input. o Consider implementing a chroot jail. o PHP: Disable allow_url_fopen and allow_url_include in php.ini o PHP: Disable register_globals and use E_STRICT to find uninitialized variables. o PHP: Ensure that all file and streams functions (stream_*) are carefully vetted.
upvoted 2 times
...
sis_net_sec
1 year, 1 month ago
Selected Answer: A
Based on the official book page 815
upvoted 2 times
...
SchFiftySchFive
1 year, 4 months ago
The correct Answer is A. File Injection Attacks Official EC-Council Courseware, Volume 2, pg. 815
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...