WARNING: gnome terminal, xfce terminal, terminator write scrollback buffer to disk
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
Published on Mar 6, 2012
This video demonstrates how to view information that was seen in the scrollback buffer from terminals that use the VTE library.
You can see the full report on this problem at:
http://www.climagic.org/bugreports/li...
Those of you who like to keep saying that this isn't a problem because you think that distributions are encrypting swamp or /tmp by default should check this out which shows completely the opposite of what you think, that almost none of them are:
http://www.climagic.org/bugreports/li...
More information about climagic can be found at: http://www.climagic.org/
-
Category
-
License
Creative Commons Attribution license (reuse allowed)
Loading...
Loading...
Loading...
Loading...
Loading...
-
9:51
CONIGLIO ALLA CACCIATORAby KALOS TVFeatured
70,227
-
21:03
RAPTURE ALERT!! THIS WARNING IS REAL!!by BelieversCentral1's channel
176,742 views
-
16:01
The dangers of SSH tunnel nesting: Generating 200MB of traffic from 1 byte.by climagic
2,552 views
-
24:25
Mystery developer image reveal + image analysisby climagic's channel
1,207 views
-
8:23
How I'm watching the Superbowl with netcat, ffmpeg, mplayer, stdin and stdout.by climagic
3,607 views
-
26:09
Línea de Comandos de Linux - Parte 2/2by redtves
7,295 views
-
5:29
Summing numbers in the output of dfby climagic
770 views
-
27:30
climagic variety show #2 (111111)by climagic
903 views
-
16:36
My Arch Linux / XFCE4 Setupby Chris H.
61,535 views
-
3:26
Gnome terminal as a Desktop Environment User Interfaceby necopost
16,242 views
-
11:54
GNU / Linux : Lignes de commandes Débutant 5by bjornulf2011
2,601 views
-
7:46
GNU / Linux : Lignes de commandes Intermédiaire 1by bjornulf2011
3,757 views
-
5:04
China straddling bus [English computer voice over] the only English copyby sadieblooming
1,025,776 views
-
8:09
Linux tar command tutorialby climagic's channel
17,688 views
-
8:50
Using Terminator Terminal - Linux Shellby metalx1000
2,644 views
-
8:23
7 things to do after installing Linux Mint 14by teklek411's channel
56,431 views
-
5:17
Kenny Wayne Shepherd "Blue On Black" on Guitar Center Sessionsby At: Guitar Center
277,230 views
-
1:01:25
222 - Tiling your Linux applicationsby category5tv
691 views
-
4:02
Terminal Fun - My Top 5 in the Command Lineby Nixie Pixel
48,676 views
-
4:13
Explanation of bartonski's box() function on CLFby climagic
1,372 views
- Loading more suggestions...
Uploader Comments (climagic)
Ramin Honary 1 year ago
Why is your "/dev/sdb1" mounted to "/tmp"? Most Linux systems mount the "tmpfs" RAM disk to /tmp, so any files stored there are in memory only, not stored to disk. Unless memory pages comprising "tmpfs" are swapped to disk, then none of this data should ever touch your hard disk.
Sign in to YouTube
Sign in to YouTube
climagic 1 year ago
Actually, the research I'm doing right now shows that most major distributions in fact DO NOT mount /tmp using tmpfs. This seems to be a common misconception. Sure, you can do it after you install, but how many people really do that? I mounted it specifically do /dev/sdb1 in this video for the demonstration. I'll release the results in the next few days.
Sign in to YouTube
Sign in to YouTube
Forge64 10 months ago
What dists are you seeing that in? I've checked RHEL, Scientific, Debian, Gentoo here, all of them have /tmp on TMPFS.
Sign in to YouTube
Sign in to YouTube
climagic 7 months ago
This is simply not true. I did research into this and the results are at the URL posted in the description.
Sign in to YouTube
Sign in to YouTube
naranha2k9 1 year ago
This is immensely exaggerated. I don't think it's a security issue as long as no other user except root can access the data at runtime. It's normal that sensitive information is stored on disk: SSH keys (with which you can access the history on a server as well), passwords etc. The only improvement that could be made is storing the buffer in the user dir. After all scrollbacks can get rather big and i do not want to have it in RAM.
Sign in to YouTube
Sign in to YouTube
climagic 1 year ago
No, its not being exaggerated. I understand that people may not understand why this is a problem, which is actually why I made this video in addition to the report. Many people expect that scrollback data never hits the disk. Why? Because until konsole and gnome-terminal did it recently, none did write this info to disk. At least of the many that Its a pretty reasonable expectation. And since many people have that expectation, they should know about this flaw.
Sign in to YouTube
Sign in to YouTube
All Comments (33)
4mountainslars 1 week ago
Actually that is stored in ~/.bash_history, and it's expected behaviour.
This video is not about the commands, but about the output of the commands that gets stored on disk while it should not be.
Sign in to YouTube
Sign in to YouTube
LTDanno360 1 week ago
Wow this should be Named, Day 0 Terminal Vulnerability i often wondered Were the data was stored for instance when you can hit the up arrow and see all the commands you used ... Nice find Man
Sign in to YouTube
Sign in to YouTube
Pepsifx357 5 months ago
Arch Linux...tmpfs -> /tmp
I know, I've had to increase it a few times. In one instance, I had to map it to a file on the hard drive to get a program installed. I only have 2GB of ram and the program needed just that.
I can only speak for Arch though.
Sign in to YouTube
Sign in to YouTube
TheMastodonHQ 1 year ago
@RaminHAL9001 I'm not sure about the newer ones but 10.04 and 10.10 to my knowledge didn't use tmpfs.
Sign in to YouTube
Sign in to YouTube
Ramin Honary 1 year ago
Well I'll wait to see the video of your research, but every distribution I have used mount tmpfs or some equivalent to /tmp, including Fedora, Debian, Ubuntu, and Gentoo -- unless this has changed recently?
But I think the more important point is, this isn't a vulnerability with libvte, A LOT of software makes the assumpion that /tmp is volatile memory. Just make sure you don't mount a physical disk to /tmp, and disable swapping if your are concerned your hard disk could be stolen.
Sign in to YouTube
Sign in to YouTube
Jonathan Dowland 1 year ago
even if tmpfs on /tmp was prevalent this would be an issue of note, as the whole song and dance to avoid swapping by writing to disc in the first place would be moot.
Sign in to YouTube
Sign in to YouTube