TAG
24 本
タグ
Webセキュリティ
「Webセキュリティ」のタグを付けた記事を新しい順に並べています。
- JWTの落とし穴対策|アルゴリズムはトークンでなくサーバが決め、署名とクレームを必ず検証するJWT pitfalls: pin the algorithm server-side, verify the signature, and validate the claims
- CORSの設定ミス対策|Originを反射せず、完全一致の許可リストで読み取りを絞るPreventing CORS misconfiguration: don't reflect the Origin — gate cross-origin reads with an exact-match allowlist
- オープンリダイレクト対策|行き先を入力に決めさせず、相対パスか許可リストで転送するPreventing open redirects: don't let input decide the destination — redirect only to relative paths or an allowlist
- 安全でないデシリアライゼーション対策|信頼できないデータをオブジェクトに復元しない設計Preventing insecure deserialization: don't restore untrusted data into native objects — map it through a data-only format
- OSコマンドインジェクション対策|シェルに文字列を渡さず、コマンドと引数を分けて直接実行するPreventing OS command injection: don't pass strings to a shell — separate the command from its arguments and exec directly
- Microsoft Authenticator 脆弱性 CVE-2026-80097|Androidのトークン窃取と開発者の教訓CVE-2026-80097 — how an exported Android activity let a zero-permission app pull tokens from Microsoft Authenticator's broker
- パストラバーサル対策|../の除去では防げない理由と、正規化して基底ディレクトリ内か確かめる設計Path traversal defense: why stripping ../ fails, and how to canonicalize then confirm the path stays inside the base directory
- ファイルアップロードのセキュリティ|拡張子でなく中身で種類を確かめ、Webルート外に実行権限なしで保存するFile upload security: verify by content not extension, and store files outside the web root with no execute permission
- SQLインジェクションとORMの落とし穴|プレースホルダで防げる所と識別子・ORDER BYで防げない所SQL injection and the ORM trap: what placeholders prevent, and what they don't (identifiers, ORDER BY, LIKE, raw SQL)
- CSRF対策はSameSiteで足りるか|Laxでも通る3つの攻撃と、Fetch Metadata・トークンの重ね方Is SameSite enough against CSRF? Three attacks that still pass Lax, and how to layer Fetch Metadata, Origin checks and tokens
- XSS対策は出力時のエスケープとCSP|入力で消さず出す場所で変換し、nonceとTrusted Typesで止めるXSS prevention is output encoding plus CSP: encode for the place you output, then block what slips through with nonces and Trusted Types
- 脆弱性診断とセキュリティレビューの違い|SAST・DAST・手動テストで何が見つかり何を見逃すかを実測Security review vs. vulnerability assessment — what design review, SAST, DAST and manual testing each find and miss, measured on a tiny vulnerable app
- 漏えい等報告の期限と第一報の書き方|「おそれ」で動く4類型、速報3〜5日・確報30日と公表文のテンプレJapan's breach reporting duty: the four triggers, the 3-5 day preliminary and 30/60-day final reports, and a first-notice template
- ダークウェブの情報漏洩の販売告知は本物か|サンプルを買わずに確かめる6つのシグナルと企業・利用者の初動Is that dark web breach listing real? Six signals to assess a sample without buying it, and first steps for companies and users
- 監査ログの設計|事故のあとに「誰が・いつ・何を」答えるための記録項目・マスキング・ハッシュチェーンの改ざん検知Designing audit logs you can investigate with — events, fields, masking, and a hash chain that catches tampering
- 仮想パッチとは|修正版を当てるまでの数日をWAFで稼ぐ手順と、IDORやカーネルなどWAFでは守れない脆弱性Virtual patching with a WAF — buying days until the real fix, measured on Coraza and OWASP CRS, and what a WAF cannot stop
- npm audit の結果はどれから直す?依存関係の脆弱性を到達性・EPSS・KEVで仕分ける実践手順Triaging npm audit results — prioritizing dependency vulnerabilities by reachability, exposure, EPSS, KEV and fix availability
- SSRFとは|サーバーに内側を叩かせる攻撃の仕組みと、素朴なブロックリストが破られる理由・正しいSSRF対策What is SSRF — making the server knock on its own internal network, why naive blocklists fail, and the defenses that actually work
- Cookie属性とセッション管理|HttpOnly・Secure・SameSite・__Host-は防ぐ攻撃で選ぶChoosing session cookie attributes by what they stop — HttpOnly, Secure, SameSite and __Host- measured in Chromium
- パスキーと多要素認証|SMSやTOTPでも中継されるフィッシングの穴と、WebAuthnが塞ぐ理由を実測Passkeys vs. MFA codes — why SMS, TOTP and push can be relayed by real-time phishing, and how WebAuthn origin binding stops it
- APIレート制限の設計|正しい認証のまま会員情報を大量に引かれるAPIを、鍵・重さ・業務の流れで止めるDesigning API rate limits — stopping authenticated bulk reads of member data by identity, cost and business flow
- アクセスキー漏洩を防ぐ|開発用クラウドの長期キーをやめ、漏れても使えず気づける形にする手順と、漏れた最初の1時間Stopping cloud access key leaks — replace long-lived dev keys so a leaked key is useless and noticed
- MITRE ATT&CK v20のAI攻撃技術|プロンプトインジェクションとAI経由の持ち出しを自社AI機能に当てはめるMITRE ATT&CK v20 adds AI attack techniques — mapping prompt injection and AI-enabled exfiltration to your LLM feature
- パスワードのハッシュ化と暗号化の違い|鍵ごと盗まれる保存をやめ、遅いハッシュとソルトへ移す手順を実測で解説Hash, don't encrypt, stored passwords — why reversible encryption fails with the key, and how to move to salted slow hashes