In mid-December 2021, security experts issued simultaneous warnings about Log4Shell, a serious vulnerability in Log4j, a very popular logging library for the Java language. The flaw has the identifier CVE-2021-44228. Small businesses may not write their own Java software, but they may still use software, devices, or services with Log4j inside. This article explains clearly what the flaw is and what to do right away.
What Log4Shell Is
Log4j is an Apache open-source library that helps Java applications log their activity. The flaw CVE-2021-44228 lets a remote attacker, without logging in, cause the affected system to execute malicious code. Because logs often contain strings entered by users, an attacker can send a special string through many familiar channels such as input fields or web request headers.
According to CISA (the US Cybersecurity and Infrastructure Security Agency), the flaw affects many Log4j 2 versions from 2.0-beta9 to 2.14.1. Public information appeared around December 9–10, 2021, and Apache released the 2.15.0 patch for Java 8 and above right afterward.
Which Software May Be Affected
Log4j is widely used in consumer and enterprise services, websites, applications, and even industrial devices. The groups to look at:
- Internal applications or ordering software written in Java.
- Vendor software (management, cameras, accounting, application servers) with Java components.
- Search servers, development toolkits, and network devices with a web admin interface.
- Cloud or SaaS services whose providers must update them themselves.
A typical WordPress website is written in PHP and does not use Log4j, but the server hosting the website may run other Java services. So you need to ask your hosting provider or system administrator.
Inventory Your Software and Ask Vendors
According to CISA's guidance, organizations should find every affected version, including in in-house software and cloud services. For small businesses, you can do the following:
- List the systems and software in use, including network devices and outsourced services.
- Record the person responsible and the vendor for each item.
- Email vendors to ask: does the product use Log4j, which version, and is a patch available.
- Mark internet-facing systems as the first priority.
- Keep every answer in writing.
This inventory skill is also useful in many other situations, as covered in the article Python 2 Reaching End of Support: What to Do with Old Scripts.
Update and Follow Up
CISA recommends prioritizing updates for critical and internet-facing systems. If you can't update yet, there are temporary mitigations guided by CISA and Apache, or you can isolate the system from the network. Points to remember:
- Update to the latest patched version your vendor allows. Note that Apache also released an additional fix for a related flaw (CVE-2021-45046, fixed in 2.16.0), so keep watching for newer releases rather than stopping at the first one.
- Check logs for signs of exploitation, since logs contain strings entered by users.
- If you suspect a compromise, change passwords, isolate the machine, and ask a specialist to handle it.
- Watch for vendor announcements in the coming days.
Other safe working principles are in safe remote work for small businesses, and the lessons on patching and backups from WannaCry.
Ví dụ tình huống cho một công ty nhỏ
Giả sử một công ty phân phối có phần mềm quản lý kho do nhà cung cấp bên ngoài cài đặt, một camera giám sát có giao diện web và một website WordPress. Chủ doanh nghiệp không biết phần mềm kho viết bằng ngôn ngữ nào.
Việc đầu tiên là hỏi nhà cung cấp phần mềm kho và hãng camera bằng email. Website WordPress ít khả năng liên quan trực tiếp, nhưng vẫn nên hỏi đơn vị hosting xem máy chủ có chạy thêm dịch vụ Java nào không. Sau đó ghi từng câu trả lời vào một bảng đơn giản gồm: hệ thống, nhà cung cấp, kết luận, ngày hỏi.
Mẫu nội dung email hỏi nhà cung cấp
Bạn có thể gửi một email ngắn, rõ, có thể lưu lại làm bằng chứng:
Kính gửi quý đơn vị, chúng tôi đang sử dụng sản phẩm (tên và phiên bản). Xin cho biết sản phẩm có sử dụng thư viện Apache Log4j 2 hay không, phiên bản nào, đã có bản vá cho lỗ hổng CVE-2021-44228 chưa và dự kiến thời gian cập nhật. Xin cảm ơn.
Nếu nhà cung cấp chưa trả lời, hãy nhắc lại và ghi nhận ngày gửi. Với hệ thống kết nối Internet mà nhà cung cấp chưa có hướng xử lý, nên cân nhắc tách khỏi mạng hoặc hạn chế truy cập từ bên ngoài trong lúc chờ.
Những điều nên tránh trong lúc xử lý
- Không tự ý chạy các đoạn mã hay công cụ lạ tải từ mạng xã hội để kiểm tra; hãy dùng hướng dẫn của CISA, Apache hoặc nhà cung cấp.
- Không bỏ qua thiết bị nhỏ như camera, máy in hay thiết bị mạng chỉ vì nó không phải máy tính.
- Không coi việc cập nhật một lần là xong; lỗi này có các bản sửa bổ sung nên cần theo dõi tiếp.
- Không xoá nhật ký sau khi cập nhật, vì nhật ký giúp phát hiện dấu hiệu bị khai thác trước đó.
Điểm quan trọng nhất là có một người chịu trách nhiệm theo dõi. Khi sự cố tương tự xảy ra lần sau, bảng danh sách hệ thống bạn lập hôm nay sẽ giúp trả lời câu hỏi “ta đang dùng gì” chỉ trong vài phút thay vì vài ngày.
If you need support reviewing servers and websites, you can contact HVSC's Technology team via the page server and website security.
2026 update: Log4Shell became a major lesson in managing software dependencies. Follow the official Apache Log4j and CISA security pages to learn the current patched version. The article the CrowdStrike incident of July 19, 2024: lessons in redundancy and website infected with malware: 8 steps to handle it adds a perspective on redundancy and incident handling.
FAQ
Is My WordPress Website Affected by Log4Shell?
WordPress uses PHP, not Log4j. Still, ask your hosting provider whether the server runs any other Java services.
Which Version Should I Update To?
Apache released 2.15.0 for Java 8 and above and then added a related fix. Follow the Apache Log4j security page and your software vendor's guidance.
What If I Can't Update Right Away?
Apply temporary mitigations following CISA or Apache guidance, or isolate the system from the internet until you can update.
Reference sources
- CISA, Apache Log4j Vulnerability Guidance — https://www.cisa.gov/news-events/news/apache-log4j-vulnerability-guidance
- Apache Log4j Security — https://logging.apache.org/security.html
Need advice on websites, software or security?
Describe the problem, and HVSC engineers will discuss the scope and options suited to your business.
FAQ
Is My WordPress Website Affected by Log4Shell?
WordPress uses PHP, not Log4j. Still, ask your hosting provider whether the server runs any other Java services.
Which Version Should I Update To?
Apache released 2.15.0 for Java 8 and above and then added a related fix. Follow the Apache Log4j security page and your software vendor's guidance.
What If I Can't Update Right Away?
Apply temporary mitigations following CISA or Apache guidance, or isolate the system from the internet until you can update.
- iPhone with full storage: back up first, then clean up, to avoid losing data
- Black Friday 2026: How to Tell Real Deals from Fake Ones Before You Buy
- Cài phần mềm trên Ubuntu: apt, snap và những lưu ý khi cập nhật













▶
▶
▶
▶
▶