Priv Escalation
Last updated
Last updated
IPwnkit,
I am not sure if this was the intended way, however. I inspected all ports for mysql and they werent vulnerable because we werent allowed load modules, I also tried dirtycow and dirtycow2 but failed because of a missing library in the system. I tried switching to the other user in this computer named 'michael' but was unable to do anything with him.
There was another intended way.
The db had multiple databases that gave the credentials for user named michael.
I cracked the password and was able to switch into that user.
I ran su michael
with those credentials and was able to find that the user michael had write access to the passwd file.