nuclei-templates icon indicating copy to clipboard operation
nuclei-templates copied to clipboard

Create phpmoadmin.yaml

Open S4lt5 opened this issue 1 year ago • 2 comments

Template / PR Information

Hello Again!

I recently ran across a panel I had never heard of: image

I also found that this has a CVE-2015-2208 (and some other nasties that are being disclosed, please don't use this software!)

Included in this PR are the detector, and a forthcoming check for CVE-2015-2208.

  • References: https://www.cvedetails.com/cve/CVE-2015-2208 http://www.phpmoadmin.com/ https://github.com/MongoDB-Rox/phpMoAdmin-MongoDB-Admin-Tool-for-PHP https://www.exploit-db.com/exploits/36251

Template Validation

I've validated this template locally?

  • [X] YES
  • [ ] NO

Additional References:

S4lt5 avatar Mar 31 '23 15:03 S4lt5

It was a little painful to get something old enough that this actually worked on, so I was using the following docker compose def when testing and on entrypoint of the moadmin changing the connection string:

# Use root/example as user/password credentials
version: '3.1'

services:

  mongo:
    image: mongo:3.6.20
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example    
    ports:
      - 27017:27017
    volumes:
      - ./mongodata:/data/db
    expose: 
      - 27017
  
  admin:
    image: thinkcube/phpmoadmin:latest
    ports:
      - 80:80
    expose: 
      - 80
    entrypoint: ["sh", "/app/docker-entrypoint.sh"]
    

S4lt5 avatar Mar 31 '23 16:03 S4lt5

Hi @Yablargo i tried to setup the docker env and it's not working. can you share a debug data for this template? 💯

pussycat0x avatar Apr 06 '23 03:04 pussycat0x

Apologies for the delayed response, closing this PR as we are unable to verify the template due to insuffient information to verify this vulnerability.

ehsandeep avatar Jan 19 '24 19:01 ehsandeep

That's fair, this really slipped off my radar with other bit things going on. While the maintainer apparently slipped bugs back in unannaounced, the user base of this is pretty low.

Anyone using this should probably assume its being maliciously updated at this point, but I don't think the prevalence is really that high.

S4lt5 avatar Jan 21 '24 21:01 S4lt5