Aviberry Drupal Video Conversion Module extends Drupal Video module, offering an enhanced video converter in addition to the default engine.
The module ensures professional video quality and stable encoding to formats perfect for a chosen media player.
Learn more on supported formats at http://www.aviberry.com/supported_formats.html
This module is built into the Video module as a new video Transcoder.
To use the module, you must have a registered account on the service Aviberry.com
Project page: http://drupal.org/sandbox/Movavi/1676658
Git clone: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Movavi/1676658.git aviberry
Drupal version: 7
Comments
Comment #1
heine commentedI've only looked at a part of the code and haven't tried to run this, but I'm a bit worried about the xmlrpc callbacks.
It appears as if unauthenticated, unauthorized users can call the xmlrpc callback
_aviberry_server_callbackvia the xmlrpc methodaviberry.callback.At least, there's no check I can see that verifies this request comes from the aviberry server and/or needs additional permissions and/or has not been tampered with.
The callback then proceeds to do a lot of work and gets to saving of the thumbnail if $conversion['status'] == 'finished':
The extension of the thumbnail is derived from conversion data, which is in effect user-supplied data. This allows an attacker to copy executable (eg php) files onto the system.
Mitigation: In many cases, the .htaccess in the files directory protects against PHP execution. An exploit might need a video in the queue.
Comment #2
Movavi commentedThank you for your feedback.
I made adjustments to the code according to your comments.
Changes have been made:
- checks the user's authorization in callback function
- more strict validation of input parameter in callback function(including checking pictures extension)
Release:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Movavi/1676658.git aviberryComment #3
sanchi.girotra commentedPlease see the automated review report here.
Manual Review:
others to be modified:$form['settings']['video']['video_aviberry_preset']
_check_callback_param();
Comment #4
Movavi commentedHi, sanchi.girotra
We have corrected the code in line with your(and the automated review report) comments.
$form['settings']['video']['video_aviberry_preset'] is used because it is a variable of the module Video that integrates the module Aviberry.
Thanks for your feedback!
Comment #5
Movavi commentedHi.
Now the module supports the latest Video Module version 7.x-2.7
We need a code review.
Comment #6
patrickd commentedI'm sorry for the delay!
There are about 100 other applications waiting for review and only a hand full of active reviewers.
We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.
Comment #7
klausiComment #8
klausimanual review:
Although you should definitively fix those issues they are not hard blockers. Otherwise RTBC to me.
Comment #9
patrickd commentedPlease make sure to fix the issues pointed out by klausi,
however there were no further issues I could find.
Thanks for your contribution!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #10
Movavi commentedWe have corrected the code in line with your comments.
Thank you for your review!