Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA CS0-003 Exam - Topic 3 Question 61 Discussion

Posted by Ettie on Jun 26, 2026 at 10:35 AM

A security analyst noticed the following entry on a web server log:

Warning: fopen (http://127.0.0.1:16) : failed to open stream:

Connection refused in /hj/var/www/showimage.php on line 7

Which of the following malicious activities was most likely attempted?

Suggested Answer: C

The malicious activity that was most likely attempted is SSRF (Server-Side Request Forgery). This is a type of attack that exploits a vulnerable web application to make requests to other resources on behalf of the web server. In this case, the attacker tried to use the fopen function to access the local loopback address (127.0.0.1) on port 16, which could be a service that is not intended to be exposed to the public. The connection was refused, indicating that the port was closed or filtered. Reference: CompTIA CySA+ Study Guide: Exam CS0-003, 3rd Edition, Chapter 2: Software and Application Security, page 66.


Get Premium CS0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
21 comments · newest first
FA
Fabiola 2 days ago
Yeah, SSRF makes sense. Trying to access internal resources.
ED
Edgar 7 days ago
I think it's SSRF. The log shows a local request.
LA
Lashawna 12 days ago
XSS doesn’t fit this context at all.
DO
Dorsey 18 days ago
I’m leaning towards SSRF too. Good reasoning!
DE
Dell 23 days ago
Yeah, the URL suggests it's trying to exploit server-side.
JU
Jules 28 days ago
RCE seems too far-fetched for this log.
CE
Cecil 1 month ago
But the warning points to SSRF clearly.
WI
Willis 1 month ago
I feel like CSRF could be a trick option.
BE
Beckie 1 month ago
Agreed, SSRF makes sense here.
PH
Phillip 2 months ago
I think it's SSRF. Trying to access internal resources.
SH
Shay 2 months ago
Definitely. Connection refused indicates an issue.
LA
Laquanda 2 months ago
This log entry looks suspicious.
FR
Francis 2 months ago
I'm surprised it even got logged like that!
LY
Lynelle 2 months ago
Definitely SSRF, no doubt about it.
VI
Vicky 2 months ago
Wait, could it be RCE instead?
AN
Annice 3 months ago
Totally agree, that IP is local!
IL
Iluminada 3 months ago
Looks like a classic SSRF attempt.
ZO
Zona 3 months ago
I don’t think it’s XSS or CSRF, but SSRF makes sense here. The connection refused part seems key to that.
VI
Vincenza 3 months ago
I’m a bit confused; could this also be related to RCE? I feel like I need to review those concepts again.
NO
Novella 3 months ago
I remember practicing a question about SSRF, and it involved similar log entries. This seems like it could be the right answer.
PA
Paulina 4 months ago
I think this might be related to SSRF since it’s trying to access a local resource, but I'm not entirely sure.
0/2000 characters

Save Cancel