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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2019-5420 — Exploit in Rails Development Mode. With some knowledge of a target application it is possible for an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit. | Kitploit
उपकरण/GitHubGitHub/pentestical/cve-2019-5420
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubpentestical/cve-2019-5420

CVE-2019-5420

रिपॉजिटरी देखें

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

सभी देखें →

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

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

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

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

विवरण

Exploit in Rails Development Mode. With some knowledge of a target application it is possible for an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit.

4 साल पहलेअभी तक समीक्षित नहीं
साझा करें

CVE-2019-5420 PoC

डेवलपमेंट मोड में Rails <5.2.2.1, <6.0.0.beta3 में एक दूरस्थ कोड निष्पादन भेद्यता एक हमलावर को स्वचालित रूप से उत्पन्न डेवलपमेंट मोड सीक्रेट टोकन का अनुमान लगाने की अनुमति दे सकती है। इस सीक्रेट टोकन का उपयोग अन्य Rails आंतरिक के साथ संयोजन में एक दूरस्थ कोड निष्पादन शोषण तक बढ़ाने के लिए किया जा सकता है। CVE-2019-5420 के लिए यह PoC कोड बिना दूरस्थ कोड निष्पादन के ही विशेषाधिकारों को एडमिन खाते तक बढ़ा देता है।

उपयोग कैसे करें

कुकी का मान कॉपी करें और इसे पंक्ति 11 पर "VALUE_OF_THE_COOKIE" से बदलें:

cookie = CGI.unescape "VALUE_OF_THE_COOKIE" # put in the value of your cookie here

इसके अलावा, "NAME::Application" को अपने एप्लिकेशन के नाम से बदलें। उदाहरण के लिए, यदि एप्लिकेशन का नाम "test" है, तो यह "test::Application" होगा:

secret = Digest::MD5.hexdigest("NAME::Application") # the name of the ruby on rails application, either bruteforce or have to be known directly

एक्सप्लॉइट चलाएं और कुकी के आउटपुट को कॉपी करें। इसे वेब एप्लिकेशन की कुकी से बदलें:

ruby CVE-2019-5420.rb

टूल डाउनलोड करें