# <!-- METAHEADER
# –––––––––––––––––––––––––––––––––––––––––––––––––– -->
"*": "https://raw.githubusercontent.com/wefindx/schema/master/intent/oo-item.yaml"
# <!-- HEADER
# –––––––––––––––––––––––––––––––––––––––––––––––––– -->
"base:title": "0oo - what is log4j"
"og:title": "what is log4j"
"og:description": "A vulnerability living inside a Java-based software known as &quot;Log4j&quot; shook the internet this week. The list of potential victims encompasses nearly a third of all web servers in the world, according to cybersecurity firm Cybereason. Twitter, Amazon, Microsoft, Apple, IBM, Oracle, Cisco, Google, and one of the world&#x27;s most popular video games, Minecraft count themselves among the slew of tech and industry giants running the popular software code that U.S. officials estimate have left hundreds of millions of devices exposed. By Friday, more than 3,700,000 hacking attempts had been made to exploit the vulnerability, according to leading cybersecurity firm …"
"og:image": "https://avatars0.githubusercontent.com/u/28134655"
"og:url": "/intent/107001/"
"base:css": "/static/css/bootstrap.min.9c25540d6272.css"
"base:extra-css": "/static/css/base.57997aeac1df.css"
"base:favicon": "/static/favicon.acaa334f0136.ico"
"base:body_class": ""
"layout:logo": "/static/0oo.8d2a8bbef612.svg"
"layout:index": "/"
"layout:menu": "/menu/"
"layout:categories": "/intents/"
"layout:ideas": "/methods/"
"layout:projects": "/projects/"
"layout:users": "/users/"
"layout:about": "/about/"
"layout:help": "/help/"
"layout:bug_report": "https://github.com/wefindx/0oo"
"layout:login": "/accounts/login/"
"layout:light-off": "/darken/?darken=true"
"layout:set-multilingual": "/mulang/?mulang=true"
"layout:lang": "语言"
"layout:set-language-post-action": "/i18n/setlang/"
"layout:csrf-token": "JZOERncrFOiasokGxUOGvmhDo9FKOcpuQulDNe5YtbcqnDV2uuDYbZO03SgAr4s5"
"layout:input-next": "/intent/107001/"
"layout:languages": [{"code": "ja", "is-active": "false", "name": "日本語"}, {"code": "lt", "is-active": "false", "name": "Lietuviškai"}, {"code": "zh-hans", "is-active": "true", "name": "简体中文"}, {"code": "en", "is-active": "false", "name": "English"}, {"code": "ru", "is-active": "false", "name": "Русский"}, {"code": "oo", "is-active": "false", "name": "O;o,"}]
# <!-- TOPIC
# –––––––––––––––––––––––––––––––––––––––––––––––––– -->
"item:parent:intents": [{"title": "计算机安全", "url": "/intent/108001/"}, {"title": "零日攻击", "url": "/intent/109001/"}]
"item:title": "what is log4j"
"item:votes": 0
"item:add-vote": "#addnote"
"item:intent": "/intent/107001/?l=cn"
"item:base-administration": false
"item:body": |
    .:en
     
    A vulnerability living inside a Java-based software known as "Log4j" shook the internet this week.
    
    The list of potential victims encompasses nearly a third of all web servers in the world, according to cybersecurity firm Cybereason. Twitter, Amazon, Microsoft, Apple, IBM, Oracle, Cisco, Google, and one of the world's most popular video games, Minecraft count themselves among the slew of tech and industry giants running the popular software code that U.S. officials estimate have left hundreds of millions of devices exposed.
    
    By Friday, more than 3,700,000 hacking attempts had been made to exploit the vulnerability, according to leading cybersecurity firm Checkpoint, with more than 46% conducted by known malicious groups.
"item:permalink": "/intent/107001/?l=cn"
"item:source-date": ""
"item:owner": "Bassxn2"
"item:ownerlink": "/user/33001/Bassxn2"
"item:created": "2021-12-23T19:11:28.018275"
"item:intent:child:add": "/admin/hlog/intent/add/?parent=107001"
# <!-- LINKS
# –––––––––––––––––––––––––––––––––––––––––––––––––– -->
"item:method:items":
"item:method:add": "/admin/hlog/method/add/?parent=107001"
"item:comment:add": "/intents/addnote?parent=107001"
"item:comment:add:csrf_token": "JZOERncrFOiasokGxUOGvmhDo9FKOcpuQulDNe5YtbcqnDV2uuDYbZO03SgAr4s5"
"item:comment:form": |
    <li> <textarea name="text" cols="40" rows="10" id="addnote" class="comment-textarea" required>
    </textarea></li>
    <li><label for="id_vote">投票：</label> <select name="vote" id="id_vote">
      <option value="-1">[−]</option>
      <option value="0" selected>-</option>
      <option value="1">[+]</option>
    </select></li>
    <li><label for="id_crawl">安静地：</label> <input type="checkbox" name="crawl" onchange="handleSilently(this)" id="id_crawl"></li>
    <li><label for="id_has_questions">概念：</label> <input type="checkbox" name="has_questions" id="id_has_questions"> <span class="helptext">标记评论提出新问题。</span></li>
    <li><label for="id_has_ideas">想法：</label> <input type="checkbox" name="has_ideas" id="id_has_ideas"> <span class="helptext">标记评论有潜在解决方案。</span></li>
    <li><label for="id_has_facts">事实：</label> <input type="checkbox" name="has_facts" id="id_has_facts"> <span class="helptext">标记评论有助于推理的事实。</span></li>
    <a href="/accounts/login/">请，<i><u>登录</u></i>。</a>
# <!-- COMMENTS
# –––––––––––––––––––––––––––––––––––––––––––––––––– -->
"item:comment:items":
  - "id": "r-220001"
    "mtrans": |

        欢迎来到无限，[Bassxn2]！ :) log4j 是 [计算机安全](https://0oo.li/intent/108001/computer-security) 问题，和 [0-day](https://0oo.li/intent/109001/0- day)-ish 问题，并且它非常普遍，因为 Log4j 是在各种软件中使用的非常流行的库。
        
        很好，很容易修复：
        
        - Java 8 的 Log4j 到 `&amp;gt;=2.17.0`
        - Java 7 的 Log4j 到 `&amp;gt;=2.12.3`
        - Java 6 的 Log4j 到 `&amp;gt;=2.3.1`
        - 或删除`zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class`
        
        查找入侵痕迹：
        
        - 查看Log4j的日志，搜索JNDI记录
        - 示例：[https://gist.github.com/Neo23x0/e4c8b03ff8cdf1fa63b7d15db6e3860b](https://gist.github.com/Neo23x0/e4c8b03ff8cdf1fa63b7d15db6e3860b)
        - 分析脚本（Python）：[https://github.com/Neo23x0/log4shell-detector](https://github.com/Neo23x0/log4shell-detector)
        （这个分析脚本可能是个不错的项目，可以链接到这里。）
        
        请注意，这个问题对时间非常敏感，它不是一个长期的全球挑战。 [标记为到期]

    "text": |
        Welcome to Infinity, [Bassxn2]! :) The log4j is a [computer security](https://0oo.li/intent/108001/computer-security) issue, and [0-day](https://0oo.li/intent/109001/0-day)-ish issue, and it's super-widespread, because Log4j is very popular library used in all kind of software.
        
        It's good it's easy to fix:
        
        - Java 8's Log4j to `>=2.17.0`
        - Java 7's Log4j to `>=2.12.3`
        - Java 6's Log4j to `>=2.3.1`
        - OR remove `zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class`
        
        Lookup for traces of intrusion:
        
        - Review logs of Log4j, search for JNDI records
        - Examples: [https://gist.github.com/Neo23x0/e4c8b03ff8cdf1fa63b7d15db6e3860b](https://gist.github.com/Neo23x0/e4c8b03ff8cdf1fa63b7d15db6e3860b)
        - Analysis script (Python): [https://github.com/Neo23x0/log4shell-detector](https://github.com/Neo23x0/log4shell-detector)
        (This analysis script may be a good project to link here.)
        
        Take a note, that this issue is very circumstantial time-sensitive, it is not a long-term global challenge. [marked-for-expiry]
    "owner": "Mindey"
    "ownerlink": "/user/147/Mindey"
    "permalink": "/intent/107001/?l=cn#r-220001"
    "created": "2021-12-23T23:34:33.093107"
    "vote": ""
  - "id": "r-221001"
    "mtrans": |

        谢谢！并感谢详细说明和解释，不胜感激。著名的。

    "text": |
        Thank you! And thanks for elaboration and explanation, appreciated. Noted.
    "owner": "Bassxn2"
    "ownerlink": "/user/33001/Bassxn2"
    "permalink": "/intent/107001/?l=cn#r-221001"
    "created": "2021-12-24T10:30:16.782767"
    "vote": ""
"base:js": "/static/js/base.c7357c06cc89.js"
