how the following: 90.76.165.40 – [08/Mar/2014:10:54:04…

The security administrator finds unauthorized tables and records, which were not present before, on a Linux
database server. The database server communicates only with one web server, which connects to the
database server via an account with SELECT only privileges. Web server logs show the following: 90.76.165.40
– [08/Mar/2014:10:54:04] “GET calendar.php?create%20table%20hidden HTTP/1.1” 200 5724 90.76.165.40 –
[08/Mar/2014:10:54:05] “GET ../../../root/.bash_history HTTP/1.1” 200
5724 90.76.165.40 – [08/Mar/2014:10:54:04] “GET index.php?user<;scrip>;Creat<;/scrip>; HTTP/1.1” 200
5724 The security administrator also inspects the following file system locations on the database server using
the command `ls -al /root’ drwxrwxrwx 11 root root 4096 Sep 28 22:45 .
drwxr-xr-x 25 root root 4096 Mar 8 09:30 ..
-rws—— 25 root root 4096 Mar 8 09:30 .bash_history -rw——- 25 root root 4096 Mar 8 09:30 .bash_history –
rw——- 25 root root 4096 Mar 8 09:30 .profile
-rw——- 25 root root 4096 Mar 8 09:30 .ssh
Which of the following attacks was used to compromise the database server and what can the security
administrator implement to detect such attacks in the future? (Select TWO).

The security administrator finds unauthorized tables and records, which were not present before, on a Linux
database server. The database server communicates only with one web server, which connects to the
database server via an account with SELECT only privileges. Web server logs show the following: 90.76.165.40
– [08/Mar/2014:10:54:04] “GET calendar.php?create%20table%20hidden HTTP/1.1” 200 5724 90.76.165.40 –
[08/Mar/2014:10:54:05] “GET ../../../root/.bash_history HTTP/1.1” 200
5724 90.76.165.40 – [08/Mar/2014:10:54:04] “GET index.php?user<;scrip>;Creat<;/scrip>; HTTP/1.1” 200
5724 The security administrator also inspects the following file system locations on the database server using
the command `ls -al /root’ drwxrwxrwx 11 root root 4096 Sep 28 22:45 .
drwxr-xr-x 25 root root 4096 Mar 8 09:30 ..
-rws—— 25 root root 4096 Mar 8 09:30 .bash_history -rw——- 25 root root 4096 Mar 8 09:30 .bash_history –
rw——- 25 root root 4096 Mar 8 09:30 .profile
-rw——- 25 root root 4096 Mar 8 09:30 .ssh
Which of the following attacks was used to compromise the database server and what can the security
administrator implement to detect such attacks in the future? (Select TWO).

A.
Privilege escalation

B.
Brute force attack

C.
SQL injection

D.
Cross-site scripting

E.
Using input validation, ensure the following characters are sanitized: <>

F.
Update crontab with: find / \\( -perm -4000 \\) type f print0 | xargs -0 ls l | email.sh

G.
Implement the following PHP directive: $clean_user_input = addslashes($user_input)

H.
Set an account lockout policy



Leave a Reply 0

Your email address will not be published. Required fields are marked *