Jump to content
hozarares

Using grep to find 0days

Recommended Posts

If you think that vulnerability research is only for computer geeks or hackers, you are wrong! Simple but effective “grep dorks” will be just fine to discover dirty pieces of code in, for example, PHP open source software.

Let’s focus on Cacti and use it as our case study as we’ve recently found its latest vulnerabilities using this technique.

The next steps were followed to identify and exploit the latest Cacti OS commanding vulnerability found by our research team:

?Download Cacti 0.8.7e

?Uncompress Cacti

?Under Cacti’s directory, find Operating System Function calls, such as “system”, “exec”, “shell_exec” or “popen”

?$ grep –i –r “shell_exec(” *

Citeste mai departe:

http://www.bonsai-sec.com

Edited by hozarares
dfg
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...