exam questions

Exam 312-50v13 All Questions

View all questions & answers for the 312-50v13 exam

Exam 312-50v13 topic 1 question 6 discussion

Actual exam question from ECCouncil's 312-50v13
Question #: 6
Topic #: 1
[All 312-50v13 Questions]

What are common files on a web server that can be misconfigured and provide useful information for a hacker such as verbose error messages?

  • A. httpd.conf
  • B. administration.config
  • C. php.ini
  • D. idq.dll
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
faaar
2 days, 3 hours ago
Selected Answer: A
A. httpd.conf Explanation: httpd.conf – This is the main configuration file for the Apache HTTP Server. If misconfigured (e.g., enabling verbose error messages, directory listing, or exposing server-side paths), it can leak sensitive information to an attacker. php.ini – This file controls PHP behavior. While also important, it's less likely to directly control web server-level verbose errors unless PHP errors are enabled (display_errors = On), which can also be risky. administration.config – Not a standard or commonly known web server config file. idq.dll – This is a Microsoft Internet Information Services (IIS) file related to Index Server, and was notably associated with older exploits like Code Red II, but it’s not a configuration file in itself.
upvoted 1 times
...
NikoTomas
1 month, 3 weeks ago
Selected Answer: C
Correct: C (php.ini) If the php.ini or wp-config . php file is exposed and writable, attackers can modify their settings to manipulate the behavior of your web application... This can lead to: • Disabling security features, such as turning off error reporting or enabling dangerous PHP functions • Enabling or disabling extensions, which can affect the functionality of your application • Modifying logging settings to cover their tracks or store sensitive information ... https://www.linkedin.com/pulse/dangers-exposing-phpini-wp-configphp-configuration-files-bojan-vasic/ Can be A (httpd.conf) also correct? httpd.conf is Apache config, but the question is asking about config file ON the web server (not OF the web server) and file php.ini is for sure stored ON the web server and it is possible to enable verbose logging in php.ini. In httpd.conf is only one ErrorLog directive for Apache which refers to file log - https://httpd.apache.org/docs/2.4/mod/core.html
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago