Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Subtitle files can hack your computer

Name: Anonymous 2017-05-24 10:23

http://blog.checkpoint.com/2017/05/23/hacked-in-translation/
Was this brought on us by using media players made in C?

Name: Cudder !cXCudderUE 2017-05-24 10:55

Blame the programmers, not the tools.

Name: Anonymous 2017-05-24 11:38

This is why you should always watch anime in Japanese.

Name: Anonymous 2017-05-24 13:24

Thankfully i only watch animu through youtube and video sites like vimeo. This also save me gigabytes of harddrive space.

Name: Anonymous 2017-05-24 13:34

>>4
Or you can download then delete?
This reasoning is quite faulty

Name: Anonymous 2017-05-24 19:03

>>5
Why i need to download something i will watch once?

Name: Anonymous 2017-05-24 19:29

>>2
Blame the programmers for using the wrong tools.

Name: Anonymous 2017-05-24 19:30

>>7
I agree.
They should have used LISP and Ruby to make media players instead.

Name: Anonymous 2017-05-24 19:53

>>8
LISP and Ruby
You're right. C is the only compiled language in existence. Everything else is dynamically typed and interpreted.

Name: Anonymous 2017-05-24 20:04

>>9
What others are there?

Name: Anonymous 2017-05-24 20:10

There is a lisp video decoder but it's pretty bad https://github.com/varjagg/cl-video

Name: Anonymous 2017-05-24 23:22

>>6
Better quality and you're not bound by internet connection

Name: Anonymous 2017-05-25 12:57

>>12
>Quality
Anime is limited color pallette, low-contrast content. There isn't much detail there in the first place.
>not bound by
I don't have a quota like in some third world country and can download anything 24/7

Name: Anonymous 2017-05-25 13:11

>>13
It may be colored line art, but it's still line art and that isn't low contrast.

Name: Anonymous 2017-05-25 13:13

>>13
What is the > supposed to mean?

Name: Anonymous 2017-05-25 13:49

>>14
>line art
This isn't art or some exotic style. Anime is mass produced, factory stamped low-culture media, designed to be easy to draw en masse. You're probably thinking of manga sources, which could be considered line art.

>>15
>supposed
https://en.wikipedia.org/wiki/Usenet_quoting

Name: Anonymous 2017-05-25 14:36

>>16
This is incorrect quoting, it would need to have a space afterwards.

Name: Anonymous 2017-05-25 14:55

>>16
Doesn't look the same

Name: Anonymous 2017-05-25 16:40

>>16
I'm talking about contrast ratios in regard to how it compresses. It has nothing to do with stylistic issues.

Name: Anonymous 2017-05-25 23:47

Lucky Star is the pinnacle of modern art.

Name: Anonymous 2017-05-26 15:47

I can't find the vulnerability this attack uses. All that page says is "Beware! text files with subtitles can hack your computer" and links you to some sponsors media players and a video of someone capturing a screen two times.

All the other websites I found just copy the text and link to that page.

You can see OP in the comments there talking shit about C and promoting those badly written programs.

What a fucking low energy beta media player faggot cuck.

Name: Anonymous 2017-05-26 16:22

>>13
I don't have a quota like in some third world country and can download anything 24/7
Then wouldn't that be more of a reason to download it?
Downloading it means a bigger file size and better quality.

Name: Anonymous 2017-05-26 16:31

>>21
The code for it is not disclosed, but the vulnerability details are available.
Search for CVE-2017-8310, CVE-2017-8311, CVE-2017-8312 and CVE-2017-8313.

CVE-2017-8310
Heap out-of-bound read in CreateHtmlSubtitle in VideoLAN VLC 2.2.x due to missing check of string termination allows attackers to read data beyond allocated memory and potentially crash the process (causing a denial of service) via a crafted subtitles file.
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=blobdiff;f=modules/codec/subsdec.c;h=addd8c71f30d53558fffd19059b374be45cf0f8e;hp=1b4276e299a2a6668047231d29ac705ae93076ba;hb=7cac839692ab79dbfe5e4ebd4c4e37d9a8b1b328;hpb=3477dba3d506de8d95bccef2c6b67861188f6c29

CVE-2017-8311
Potential heap based buffer overflow in ParseJSS in VideoLAN VLC before 2.2.5 due to skipping NULL terminator in an input string allows attackers to execute arbitrary code via a crafted subtitles file.
http://git.videolan.org/?p=vlc.git;a=commitdiff;h=775de716add17322f24b476439f903a829446eb6

CVE-2017-8312
Heap out-of-bound read in ParseJSS in VideoLAN VLC due to missing check of string length allows attackers to read heap uninitialized data via a crafted subtitles file.
http://git.videolan.org/?p=vlc.git;a=blobdiff;f=modules/demux/subtitle.c;h=5e4fcdb7f25b2819f5441156c7c0ea2a7d112ca3;hp=2a75fbfb7c3f56b24b2e4498bbb8fe0aa2575974;hb=611398fc8d32f3fe4331f60b220c52ba3557beaa;hpb=075bc7169b05b004fa0250e4a4ce5516b05487a9

CVE-2017-8313
Heap out-of-bound read in ParseJSS in VideoLAN VLC before 2.2.5 due to missing check of string termination allows attackers to read data beyond allocated memory and potentially crash the process via a crafted subtitles file.
http://git.videolan.org/?p=vlc/vlc-2.2.git;a=commitdiff;h=05b653355ce303ada3b5e0e645ae717fea39186c

Name: Anonymous 2017-05-26 17:36

>>23
NO MOM YOU DON'T UNDERSTAND, NULL-TERMINATED STRINGS ARE OMG OPTIMIZED AND EVERYTHING ELSE IS SLOW AS FUCK

Name: Anonymous 2017-05-26 17:38

>>23
CreateHtmlSubtitle
ParseJSS
Enterprise Quality.

Name: Anonymous 2017-05-26 17:47

>>24
You can't program in C, we got it. You can stop shitposting now.

Name: Anonymous 2017-05-26 19:57

>>26
If anyone can't program in C, it's the VLC developers, obviously.

Name: Anonymous 2017-05-26 21:16

>>25
That's an inconsistent naming convention, by the way. It's PascalCase, but the second capitalizes acronyms while the first does not.

Name: Anonymous 2017-05-26 21:29

>>24
What if a subtitle is more than 4 GB long? Your length-prefixed strings won't work. You wasted those 3 extra bytes for nothing.

Name: Anonymous 2017-05-26 22:34

>>29
Ain't nobody readin no damn 4GB of subtitles.

Name: Anonymous 2017-05-26 22:41

>>27
But if you read the article, it said VLC isn't the only media player affected by it.

Name: Anonymous 2017-05-26 23:57

>>31
Different bugs.

Name: Anonymous 2017-05-27 0:23

>>32
Different bugs, different media players, but they all involve subtitles and remote code execution.

Name: Cudder !cXCudderUE 2017-05-27 3:07

>>25,28
Acronyms should always be capitalised. Seeing "Html" and "Xml" and the like makes me physically cringe.

That said, PascalCase-only looks retarded anyway.

Name: Anonymous 2017-05-27 4:49

>>34
What's your preferred naming style then?

Name: Anonymous 2017-05-27 9:04

With C/C++ any input data can contain an exploit. It is always some memory corruption nonsense only possible with C/C++.

Name: Anonymous 2017-05-27 16:58

>>34
Seeing "Html" and "Xml" and the like makes me physically cringe.
You let stupid people on the Internet make you ``physically cringe''? You must be one hell of a rational person.

Name: Anonymous 2017-05-28 1:43

>>36
Give me an example of input that would cause memory corruption in this C program:

#include <stdio.h>

int main(void)
{
char buf[32];
fread(buf, 1, 31, stdin);
printf("You said %s!\n", buf);
return(0);
}

Name: Anonymous 2017-05-28 7:23

>>38
buf is not nul-terminated

Name: Anonymous 2017-05-28 8:31

>>38
You fail to validate the input to be proper characters. Now anyone can garble your terminal output with by setting termcap or even execute some OS command:
https://en.wikipedia.org/wiki/ANSI_escape_code#Non-CSI_codes

Name: Anonymous 2017-05-28 10:21

>>40
Mirror, mirror on the wall, whos the leakiest abstraction of them all?
>execute some OS command by writing to stdout
Is this linux specific at least?

Name: Anonymous 2017-05-28 10:42

>>41
http://man7.org/linux/man-pages/man4/console_codes.4.html
ESC ] 0 ; txt ST Set icon name and window title to txt.
ESC ] 1 ; txt ST Set icon name to txt.
ESC ] 2 ; txt ST Set window title to txt.
ESC ] 4 ; num; txt ST Set ANSI color num to txt.
ESC ] 10 ; txt ST Set dynamic text color to txt.
ESC ] 4 6 ; name ST Change log file to name (normally disabled
by a compile-time option)
ESC ] 5 0 ; fn ST Set font to fn.

Name: Anonymous 2017-05-28 11:14

What happens with this?
ESC [ 14 ; n ] Set the VESA powerdown interval in minutes.

Name: Anonymous 2017-05-28 11:23

>>43
Turns off the screen.

Name: Anonymous 2017-05-28 11:42

>>41
All terminal emulators support some escape codes, including Windows'.

Name: Anonymous 2017-05-28 11:52

Name: Cudder !cXCudderUE 2017-05-28 15:19

>>40
Shut the fuck up. This is the sort of bullshit that makes useful utilities like cat turn into ENTERPRISE QUALITY bloatstrosities that are larger and yet less general and useful than their predecessors. There's no need to "validate" any input.

One only has to look at PowersHell and its ridiculous fuckups with assuming character encoding and such to see an example of this retardedness in action.

https://brianreiter.org/2010/01/29/powershells-object-pipeline-corrupts-piped-binary-data/

Name: Anonymous 2017-05-28 16:52

My other cat!

Name: Anonymous 2017-05-28 17:27

>>47
Nice try blaming the user instead of the programmer

Name: Anonymous 2017-05-28 17:31

>>47
Yet again Cudder proves, that Russians are oriental niggers.

Name: Anonymous 2017-05-28 19:18

This will only be fixed when people honor innovators instead of cultural appropriators. Why is it that nobody can name a single person who worked on MULTICS but they know all about MULTICS without balls's cultural appropriators?

Name: Anonymous 2017-05-28 20:16

>>39
Fixed.

#include <stdio.h>

int main(void)
{
/*
* buf is initialized to an array of 32 zero bytes, and since the
* fread call will read in at most 31 bytes into buf, the resulting
* string is guaranteed to be nul-terminated.
*/
char buf[32] = {0};
fread(buf, 1, 31, stdin);
printf("You said %s!\n", buf);
return(0);
}


>>40
That's not an issue with my program, it's an issue with the shell/terminal.

Name: Anonymous 2017-05-29 15:57

Why is no one commenting on the monstrous use of ``le turing complete enterprise e/g/in web languages'' on something so simple as just colored text on a screen?
If you ask me, that's why this happened. There's no need to implement something that complex there.

Name: Anonymous 2017-05-29 16:06

>>53
Because subtitles can be more complex than "colored text on a screen"
http://i.imgur.com/vohDOmY.jpg

Name: Anonymous 2017-05-29 16:24

Name: Anonymous 2017-05-29 16:36

>>53
Postscript is great.

Name: Anonymous 2017-05-29 23:02

To date, we tested and found vulnerabilities in four of the most prominent media players: VLC, Kodi, Popcorn Time and Stremio
Holy shit who uses any of those? Why does this matter?
Anyway, can someone let me know if there is a reason for me to switch away from MPC-HC+MadVR?

Name: Anonymous 2017-05-30 0:02

>>54
No one NEEDS that. You're exposing everyone to a hack because some weeaboos want effects on their horrible songs with idiotic lyrics.

Go back to leddit.

Name: Anonymous 2017-05-30 0:09

>>58
Sorry Rabbi, these are valid features and not used only in anime

Name: Anonymous 2017-05-30 1:53

>>54
``Text" doesn't mean ``pure ASCII", you know.

Name: Anonymous 2017-05-30 3:21

>>57
Holy shit who uses any of those? Why does this matter?
Millions of people use those. They're the most popular, after all.

can someone let me know if there is a reason for me to switch away from MPC-HC+MadVR?
Not using Windows.

Name: Anonymous 2017-05-30 10:41

>>52
That's not an issue with my program, it's an issue with the shell/terminal.

Your program relies on a terminal for output, so it is the issue with your shitty code. You should either provide your own output method or sanitize output, so it won't break Unix and Windows terminals.

Name: Cudder !cXCudderUE 2017-05-30 12:15

>>62
Bullshit. What if you redirect the output into a file? Or to another process?

Name: Anonymous 2017-05-30 12:55

>>63

Redirecting is not the default. In general, stdout is for writing text data only. Files one fopens require explicitly specifying "wb", otherwise written data will be interpreted as text, with various text transformations applied.

Name: Anonymous 2017-05-30 14:35

>>61
What reason do I have to switch away from Windows 7 until it becomes obsolete?
It's fairly minimalist.

Name: Anonymous 2017-05-30 15:33

Name: Anonymous 2017-05-30 17:14

https://en.wikipedia.org/wiki/Heartbleed
On the first aspect, Merkel mentions the use of the C programming language as one risk factor which favored Heartbleed's appearance, echoing Wheeler's analysis

time to holocaust the C jews!

Don't change these.
Name: Email:
Entire Thread Thread List