Web
Nmap discovered a Web server on the target port 80
The running service is nginx 1.10.3
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/shifty]
└─$ curl -I http://$IP/
HTTP/1.1 200 OK
Server: nginx/1.10.3
Date: Wed, 05 Mar 2025 09:52:44 GMT
Content-Type: text/html
Content-Length: 58936
Last-Modified: Tue, 02 Jun 2020 04:48:29 GMT
Connection: keep-alive
ETag: "5ed5da1d-e638"
Accept-Ranges: bytes
Webroot
It appears to be an online store for a coffee brand
It seems that the web application is built on a CMS template; gatsby-starter-decap-cms
Form Submission
The
/contact/example
endpoint shows 2 form submissions
Basic contact form
While it appears somewhat functioning, it’s likely just a demo
Form with file upload
The file upload feature does appear to work as well, but the server returns
405
and redirects to the Thank you page
Admin
There is also an admin page;
/admin/
That leads to Netlify CMS
Clicking into the Login with Netlify Identity button above sends a GET request to the
/.netlify/identity/settings
file, which likely contains a configuration profile
However, it would appear that the web app has not been configured to use the Netlify CMS backend
Fuzzing
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/shifty]
└─$ ffuf -c -w /usr/share/wordlists/seclists/Discovery/Web-Content/big.txt -u http://$IP/FUZZ -ic -fc 403
________________________________________________
:: Method : GET
:: URL : http://192.168.219.59/FUZZ
:: Wordlist : FUZZ: /usr/share/wordlists/seclists/Discovery/Web-Content/big.txt
:: Follow redirects : false
:: Calibration : false
:: Timeout : 10
:: Threads : 40
:: Matcher : Response status: 200-299,301,302,307,401,403,405,500
:: Filter : Response status: 403
________________________________________________
404 [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 24ms]
about [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 51ms]
admin [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 26ms]
blog [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 25ms]
contact [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 26ms]
img [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 24ms]
products [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 26ms]
static [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 24ms]
tags [Status: 301, Size: 185, Words: 6, Lines: 8, Duration: 25ms]
:: Progress: [20478/20478] :: Job [1/1] :: 1398 req/sec :: Duration: [0:00:13] :: Errors: 0 ::
N/A