
CVE-2022-22963 भेद्यता के लिए Rust-आधारित शोषण
यह रिपॉजिटरी Spring Cloud Function संस्करण 3.1.6, 3.2.2, और पुराने असमर्थित संस्करणों में पाए गए CVE-2022-22963 कमजोरी के लिए Rust-आधारित शोषण शामिल करता है। यह कमजोरी एक विशेष रूप से तैयार किए गए Spring Expression (SpEL) के माध्यम से दूरस्थ कोड निष्पादन और स्थानीय संसाधनों तक पहुंच की अनुमति देती है जिसका उपयोग रूटिंग-एक्सप्रेशन के रूप में किया जाता है।
Spring Cloud Function संस्करण 3.1.6, 3.2.2, और पुराने असमर्थित संस्करणों में, रूटिंग कार्यक्षमता का उपयोग करते समय, उपयोगकर्ता के लिए एक विशेष रूप से तैयार किए गए SpEL को रूटिंग-एक्सप्रेशन के रूप में प्रदान करना संभव है जिसके परिणामस्वरूप दूरस्थ कोड निष्पादन और स्थानीय संसाधनों तक पहुंच हो सकती है।
यह शोषण आपको अनुमति देता है:
1. Test if the Spring Cloud Function is vulnerable
2. Send shellcode for a shell
3. Enter custom commands
Spring Cloud Function 3.1.6
Spring Cloud Function 3.2.2
Older, unsupported versions
प्रभावित संस्करणों के उपयोगकर्ताओं को 3.1.7 या 3.2.3 में अपग्रेड करना चाहिए। कोई अन्य कदम आवश्यक नहीं हैं। जो रिलीज़ इस मुद्दे को ठीक कर चुके हैं उनमें शामिल हैं:
Spring Cloud Function 3.1.7
Spring Cloud Function 3.2.3
1. Clone this repository.
2. Ensure you have Rust and Cargo installed.
3. Compile the exploit using cargo build --release.
4. Run the compiled binary found in the target/release directory, providing the target IP address when prompted.
5. Select an option from the menu and follow the instructions.
यह कमजोरी प्रारंभ में m09u3r द्वारा खोजी गई और जिम्मेदारी से रिपोर्ट की गई।