T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:35- Finding
Unrestricted Cross-Session and Deleted-Session Record Access
- Content
View full analysis
/sessions/.jsonl ``` ```markdown 1. Determine the sessionId 2. Read the JSONL file: ~/.openclaw/agents/lin_xiaoman/sessions/.jsonl 3. Extract the required conversation segment 4. Tell the user about the content or add it to the current context ``` ```markdown - Reset records: ~/.openclaw/agents//sessions/.jsonl.reset. - Deleted records: ~/.openclaw/agents//sessions/.jsonl.deleted. ``` ### Technical Analysis The Skill instructs the agent to enumerate all available sessions, retrieve complete histories, and bypass session APIs by reading underlying JSONL files directly. It also identifies reset and deleted records as readable data sources. No instruction requires the agent to verify that the requesting user owns the target session, obtain explicit authorization, limit access to the current session, or exclude deleted records. Direct filesystem access may also bypass authorization, filtering, and audit controls implemented by `sessions_history`. Conversation histories can contain personal information, authentication material, confidential business data, private messages, and instructions from unrelated contexts. Treating a user-supplied ses ...[truncated 1474 chars]- Remediation
View remediation
